com.americancoders.ebXML
Class Description

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

class Description
extends java.lang.Object

The optional Description element provides a narrative description of the error in the language defined by the xml:lang attribute on the Description element. The content of this attribute is defined by the vendor/developer of the software, which generated the ebXML Error Document. xml:lang must comply with the rules for identifying languages specified in [XML].


Field Summary
(package private)  java.lang.String value
           
(package private)  java.lang.String xmllang
           
 
Constructor Summary
(package private) Description()
           
 
Method Summary
 java.lang.String getValue()
          method to get Value
 java.lang.String getXML(int depth)
          method to build an XML string of this and its subordinate objects
 java.lang.String getXMLLang()
          method to get XMLLang
 void setValue(java.lang.String inValue)
          method to set Value
 void setXMLLang(java.lang.String inXMLLang)
          method to set XMLLang
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

xmllang

java.lang.String xmllang

value

java.lang.String value
Constructor Detail

Description

Description()
Method Detail

setXMLLang

public void setXMLLang(java.lang.String inXMLLang)
method to set XMLLang
Parameters:
String -  

getXMLLang

public java.lang.String getXMLLang()
method to get XMLLang

setValue

public void setValue(java.lang.String inValue)
method to set Value
Parameters:
String -  

getValue

public java.lang.String getValue()
method to get Value

getXML

public java.lang.String getXML(int depth)
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