java.io.Serializablepublic class DiscoveryURLs extends UDDIElement
Element description:
Service Element: accessor for one or more discoveryURL elements
| Modifier and Type | Field | Description |
|---|---|---|
protected org.w3c.dom.Element |
base |
|
static java.lang.String |
UDDI_TAG |
GENERIC, SOAPNS, XMLNS, XMLNS_PREFIX| Constructor | Description |
|---|---|
DiscoveryURLs() |
Default constructor.
|
DiscoveryURLs(java.util.Vector discoveryURL) |
Construct the object with required fields.
|
DiscoveryURLs(org.w3c.dom.Element base) |
Construct the object from a DOM tree.
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
add(DiscoveryURL d) |
Add a DiscoveryURL object to the collection
|
DiscoveryURL |
get(int index) |
Retrieve the DiscoveryURL at the specified index within the collection.
|
java.util.Vector |
getDiscoveryURLVector() |
Get discoveryURL.
|
boolean |
remove(DiscoveryURL d) |
Remove a DiscoveryURL object from the collection
|
void |
saveToXML(org.w3c.dom.Element parent) |
Save an object to the DOM tree.
|
void |
setDiscoveryURLVector(java.util.Vector s) |
Set discoveryURL vector.
|
int |
size() |
Return current size of the collection.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetChildElementsByTagName, getTextpublic static final java.lang.String UDDI_TAG
protected org.w3c.dom.Element base
public DiscoveryURLs()
public DiscoveryURLs(java.util.Vector discoveryURL)
discoveryURL - Vector of DiscoveryURL objects.public DiscoveryURLs(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 setDiscoveryURLVector(java.util.Vector s)
s - Vector of DiscoveryURL objects.public java.util.Vector getDiscoveryURLVector()
public void add(DiscoveryURL d)
d - Discovery URL to be addedpublic boolean remove(DiscoveryURL d)
d - Discovery URL to be removedpublic DiscoveryURL get(int index)
index - Index to retrieve from.public int size()
public void saveToXML(org.w3c.dom.Element parent)
saveToXML in class UDDIElementparent - 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.