public class CategoryBag extends UDDIElement
Element description:
Service element. Used in searching and categorization.
Modifier and Type | Field | Description |
---|---|---|
protected org.w3c.dom.Element |
base |
|
static java.lang.String |
UDDI_TAG |
GENERIC, SOAPNS, XMLNS, XMLNS_PREFIX
Constructor | Description |
---|---|
CategoryBag() |
Default constructor.
|
CategoryBag(org.w3c.dom.Element base) |
Construct the object from a DOM tree.
|
Modifier and Type | Method | Description |
---|---|---|
void |
add(KeyedReference kr) |
Add a keyed reference to this collection
|
KeyedReference |
get(int index) |
Retrieve the object at the specified index within the collection.
|
java.util.Vector |
getKeyedReferenceVector() |
Get keyedReference
|
boolean |
remove(KeyedReference kr) |
Remove the specified object from the collection.
|
void |
saveToXML(org.w3c.dom.Element parent) |
Save an object to the DOM tree.
|
void |
setKeyedReferenceVector(java.util.Vector s) |
Set keyedReference vector
|
int |
size() |
Return current size of the collection.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getChildElementsByTagName, getText
public static final java.lang.String UDDI_TAG
protected org.w3c.dom.Element base
public CategoryBag()
public CategoryBag(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 setKeyedReferenceVector(java.util.Vector s)
s
- Vector of KeyedReference objects.public java.util.Vector getKeyedReferenceVector()
public void add(KeyedReference kr)
kr
- KeyedReferencepublic boolean remove(KeyedReference kr)
kr
- Keyed reference to removepublic KeyedReference get(int index)
index
- 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.