public class ErrInfo extends UDDIElement
Element description:
Supports the DispositionReport structure. This structure is provided for conveying text and structured error code (alphanumeric) information. Error message text is contained by this element.
Modifier and Type | Field and Description |
---|---|
protected org.w3c.dom.Element |
base |
static java.lang.String |
UDDI_TAG |
GENERIC, SOAPNS, XMLNS, XMLNS_PREFIX
Constructor and Description |
---|
ErrInfo()
Default constructor.
|
ErrInfo(org.w3c.dom.Element base)
Construct the object from a DOM tree.
|
ErrInfo(java.lang.String value,
java.lang.String errCode)
Construct the object with required fields.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getErrCode() |
java.lang.String |
getText() |
void |
saveToXML(org.w3c.dom.Element parent)
Save an object to the DOM tree.
|
void |
setErrCode(java.lang.String s) |
void |
setText(java.lang.String s) |
getChildElementsByTagName, getText
public static final java.lang.String UDDI_TAG
protected org.w3c.dom.Element base
public ErrInfo()
public ErrInfo(java.lang.String value, java.lang.String errCode)
value
- String valueerrCode
- Stringpublic ErrInfo(org.w3c.dom.Element base) throws UDDIException
base
- Element with the name appropriate for this class.UDDIException
- Thrown if DOM tree contains a SOAP fault
or a disposition report indicating a UDDI error.public void setText(java.lang.String s)
public void setErrCode(java.lang.String s)
public java.lang.String getText()
public java.lang.String getErrCode()
public void saveToXML(org.w3c.dom.Element parent)
saveToXML
in class UDDIElement
parent
- Object will serialize as a child element under the
passed in parent element.Copyright ? 2001 International Business Machines Corporation, Hewlett-Packard Company. All Rights Reserved.