com.americancoders.ebXML
Class ebXMLError

java.lang.Object
  |
  +--com.americancoders.ebXML.ebXMLError

class ebXMLError
extends java.lang.Object

An ebXML Error Document has a root element that consists of:


This module, both source code and documentation, is in the Public Domain, and comes with NO WARRANTY. Copyright (C) 2000 American Coders, Ltd. Raleigh NC USA
This program is free software; you can redistribute it and/or modify it under the terms of the Mozilla Public License as published by the Mozilla Software Foundation http://www.mozilla.org/MPL
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the Mozilla Public License for more details.

See Also:

Field Summary
(package private)  ErrorHeader errorHeader
           
(package private)  ErrorLocation errorLocation
           
(package private)  java.util.Vector errorLocations
           
 
Constructor Summary
(package private) ebXMLError()
           
 
Method Summary
 void addErrorLocation(ErrorLocation inErrorLocations)
          method to add ErrorLocations
 ErrorHeader getErrorHeader()
          method to get ErrorHeader
 java.util.Vector getErrorLocations()
          method to get ErrorLocations
 java.lang.String getXML()
          method to build an XML string of this and its subordinate objects
static void main(java.lang.String[] args)
          test routine
 void setErrorHeader(ErrorHeader inErrorHeader)
          method to set ErrorHeader
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

errorHeader

ErrorHeader errorHeader

errorLocation

ErrorLocation errorLocation

errorLocations

java.util.Vector errorLocations
Constructor Detail

ebXMLError

ebXMLError()
Method Detail

main

public static void main(java.lang.String[] args)
test routine

setErrorHeader

public void setErrorHeader(ErrorHeader inErrorHeader)
method to set ErrorHeader
Parameters:
ErrorHeader -  

getErrorHeader

public ErrorHeader getErrorHeader()
method to get ErrorHeader
Returns:
errorHeader

addErrorLocation

public void addErrorLocation(ErrorLocation inErrorLocations)
method to add ErrorLocations
Parameters:
ErrorLocation -  

getErrorLocations

public java.util.Vector getErrorLocations()
method to get ErrorLocations

getXML

public java.lang.String getXML()
method to build an XML string of this and its subordinate objects
Parameters:
int - depth - how many multiple of 4 spaces to add in front of text
Returns:
String - XML text