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 | Description |
---|---|---|
protected org.w3c.dom.Element |
base |
|
static java.lang.String |
UDDI_TAG |
GENERIC, SOAPNS, XMLNS, XMLNS_PREFIX
Constructor | Description |
---|---|
ErrInfo() |
Default constructor.
|
ErrInfo(java.lang.String value,
java.lang.String errCode) |
Construct the object with required fields.
|
ErrInfo(org.w3c.dom.Element base) |
Construct the object from a DOM tree.
|
Modifier and Type | Method | 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) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
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.