public class RelatedBusinessInfos extends UDDIElement
Element description:
This is a response message that contains a set of one or more RelatedBusinessInfo 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 |
---|
RelatedBusinessInfos()
Default constructor.
|
RelatedBusinessInfos(org.w3c.dom.Element base)
Construct the object from a DOM tree.
|
RelatedBusinessInfos(java.util.Vector relatedBusinessInfo)
Construct the object with required fields.
|
Modifier and Type | Method and Description |
---|---|
void |
add(RelatedBusinessInfo r)
Add a RelatedBusinessInfo object to the collection
|
RelatedBusinessInfo |
get(int index)
Retrieve the RelatedBusinessInfo at the specified index within the collection.
|
java.util.Vector |
getRelatedBusinessInfoVector() |
boolean |
remove(RelatedBusinessInfo r)
Remove a RelatedBusinessInfo object from the collection
|
void |
saveToXML(org.w3c.dom.Element parent)
Save an object to the DOM tree.
|
void |
setRelatedBusinessInfoVector(java.util.Vector relatedBusinessInfo) |
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 RelatedBusinessInfos()
public RelatedBusinessInfos(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 RelatedBusinessInfos(java.util.Vector relatedBusinessInfo)
relatedBusinessInfo
- Vectorpublic java.util.Vector getRelatedBusinessInfoVector()
public void setRelatedBusinessInfoVector(java.util.Vector relatedBusinessInfo)
public void add(RelatedBusinessInfo r)
r
- RelatedBusinessInfo to be addedpublic boolean remove(RelatedBusinessInfo r)
r
- RelatedBusinessInfo to be removedpublic RelatedBusinessInfo 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.