public class Description extends UDDIElement
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 |
---|
Description()
Default constructor.
|
Description(org.w3c.dom.Element base)
Construct the object from a DOM tree.
|
Description(java.lang.String value)
Construct the object with required fields.
|
Description(java.lang.String value,
java.lang.String lang)
Construct the object with required fields.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object object) |
java.lang.String |
getLang() |
java.lang.String |
getText() |
void |
saveToXML(org.w3c.dom.Element parent)
Save an object to the DOM tree.
|
void |
setLang(java.lang.String s)
Set the language identifier for this string element.
|
void |
setText(java.lang.String s) |
getChildElementsByTagName, getText
public static final java.lang.String UDDI_TAG
protected org.w3c.dom.Element base
public Description()
public Description(java.lang.String value)
value
- String valuepublic Description(java.lang.String value, java.lang.String lang)
value
- String valuelang
- String Language used for the name. Possible values defined
in ISO3166.public Description(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
disposition report indicating a UDDI error.public void setText(java.lang.String s)
public void setLang(java.lang.String s)
s
- Language string.public java.lang.String getText()
public java.lang.String getLang()
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.public boolean equals(java.lang.Object object)
equals
in class java.lang.Object
Copyright ? 2001 International Business Machines Corporation, Hewlett-Packard Company. All Rights Reserved.