public class ServiceInfos extends UDDIElement
Element description:
An accessor container for one or more serviceInfo structures.
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 |
---|
ServiceInfos()
Default constructor.
|
ServiceInfos(org.w3c.dom.Element base)
Construct the object from a DOM tree.
|
Modifier and Type | Method and Description |
---|---|
void |
add(ServiceInfo s)
Add a ServiceInfo object to the collection
|
ServiceInfo |
get(int index)
Retrieve the ServiceInfo at the specified index within the collection.
|
java.util.Vector |
getServiceInfoVector()
Get serviceInfo
|
boolean |
remove(ServiceInfo s)
Remove a ServiceInfo object from the collection
|
void |
saveToXML(org.w3c.dom.Element parent)
Save an object to the DOM tree.
|
void |
setServiceInfoVector(java.util.Vector s)
Set serviceInfo vector
|
int |
size()
Return current size of the collection.
|
getChildElementsByTagName, getText
public static final java.lang.String UDDI_TAG
protected org.w3c.dom.Element base
public ServiceInfos()
public ServiceInfos(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 setServiceInfoVector(java.util.Vector s)
s
- Vector of ServiceInfo objects.public java.util.Vector getServiceInfoVector()
public void add(ServiceInfo s)
s
- ServiceInfo to be addedpublic boolean remove(ServiceInfo s)
s
- ServiceInfo to be removedpublic ServiceInfo 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.Copyright ? 2001 International Business Machines Corporation, Hewlett-Packard Company. All Rights Reserved.