|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
This interface defines the API used to access a collection of resource property contained in a resource.
| Method Summary | |
boolean |
add(ResourceProperty property)
Adds a resource property to the set and makes it available to queries and subscriptions, etc. |
void |
clear()
Removes all resource properties. |
ResourceProperty |
create(ResourcePropertyMetaData rpMetaData)
Creates a resource property entry with the specified meta data. |
ResourceProperty |
get(javax.xml.namespace.QName propName)
Retrieves a resource property. |
javax.xml.namespace.QName |
getName()
Returns the element name of the entire resource properties document. |
boolean |
isEmpty()
Returns true if the set has at least one resource property. |
boolean |
isOpenContent()
Indicates if the resource property set allows adding of new arbitrary resource property elements. |
java.util.Iterator |
iterator()
Returns an iterator over ResourceProperty entries. |
boolean |
remove(javax.xml.namespace.QName propName)
Removes a resource property. |
int |
size()
Returns the number of resource properties this set contains. |
org.w3c.dom.Element |
toElement()
Returns the entire Resource Property document as a DOM Element. |
javax.xml.soap.SOAPElement |
toSOAPElement()
Returns the entire Resource Property document as a SOAPElement. |
| Method Detail |
public boolean add(ResourceProperty property)
property - the ResourceProperty to add.
public boolean remove(javax.xml.namespace.QName propName)
propName - the name of the ResourceProperty to remove.
public ResourceProperty get(javax.xml.namespace.QName propName)
propName - the name of the ResourceProperty to
retrieve.
ResourceProperty that was retrieved. Null if
the property does not exist.public ResourceProperty create(ResourcePropertyMetaData rpMetaData)
add method is called.
public java.util.Iterator iterator()
ResourceProperty entries.
ResourceProperty entries.public void clear()
public int size()
public boolean isEmpty()
public boolean isOpenContent()
isOpenContent might
return true but only certain subset of resource
properties will be allowed to be added.public javax.xml.namespace.QName getName()
public javax.xml.soap.SOAPElement toSOAPElement()
throws SerializationException
SerializationException
public org.w3c.dom.Element toElement()
throws SerializationException
SerializationException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||