public class BindingTemplates extends UDDIElement
Element description: Service element. Collection accessor for bindingTemplate information.
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 |
---|
BindingTemplates()
Default constructor.
|
BindingTemplates(org.w3c.dom.Element base)
Construct the object from a DOM tree.
|
Modifier and Type | Method and Description |
---|---|
void |
add(BindingTemplate b)
Add a BindingTemplate object to the collection
|
BindingTemplate |
get(int index)
Retrieve the BindingTemplate at the specified index within the collection.
|
java.util.Vector |
getBindingTemplateVector()
Get bindingTemplate
|
boolean |
remove(BindingTemplate b)
Remove a BindingTemplate object from the collection
|
void |
saveToXML(org.w3c.dom.Element parent)
Save object to DOM tree.
|
void |
setBindingTemplateVector(java.util.Vector s)
Set bindingTemplate 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 BindingTemplates()
public BindingTemplates(org.w3c.dom.Element base) throws UDDIException
base
- Element with name appropriate for this class.UDDIException
- Thrown if DOM tree contains a SOAP fault or
disposition report indicating a UDDI error.public void setBindingTemplateVector(java.util.Vector s)
s
- Vector of BindingTemplate objects.public java.util.Vector getBindingTemplateVector()
public void add(BindingTemplate b)
b
- BindingTemplate to be addedpublic boolean remove(BindingTemplate b)
b
- BindingTemplate to be removedpublic BindingTemplate 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.