|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.uddi4j.UDDIElement org.uddi4j.util.DiscoveryURLs
Represents the discoveryURLs element within the UDDI version 2.0 schema. This class contains the following types of methods:
Element description:
Service Element: accessor for one or more discoveryURL elements
Field Summary | |
---|---|
protected org.w3c.dom.Element |
base
|
static java.lang.String |
UDDI_TAG
|
Fields inherited from class org.uddi4j.UDDIElement |
---|
GENERIC, SOAPNS, XMLNS |
Constructor Summary | |
---|---|
DiscoveryURLs()
Default constructor. |
|
DiscoveryURLs(org.w3c.dom.Element base)
Construct the object from a DOM tree. |
|
DiscoveryURLs(java.util.Vector discoveryURL)
Construct the object with required fields. |
Method Summary | |
---|---|
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. |
Methods inherited from class org.uddi4j.UDDIElement |
---|
getChildElementsByTagName, getText |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String UDDI_TAG
protected org.w3c.dom.Element base
Constructor Detail |
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.Method Detail |
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 removed
public DiscoveryURL get(int index)
index
- Index to retrieve from.
public int size()
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.
|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |