|
|||||||||||
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 properties 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 properties. |
ResourceProperty |
get(javax.xml.namespace.QName propName)
Retrieves a resource property. |
ResourcePropertySetMetaData |
getMetaData()
Returns the metadata associated with this resource property set. |
boolean |
isEmpty()
Returns true if, and only if, this set contains no properties. |
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 properties in this set. |
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 SAAJ SOAPElement. |
java.lang.String |
toXML()
Returns the XML representation of this property set (i.e. |
Method Detail |
public boolean isEmpty()
public ResourcePropertySetMetaData getMetaData()
public boolean add(ResourceProperty property) throws MetaDataViolationException
property
- the ResourceProperty
to add.
MetaDataViolationException
public void clear() throws MetaDataViolationException
MetaDataViolationException
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 java.util.Iterator iterator()
ResourceProperty
entries.
ResourceProperty
entries.public boolean remove(javax.xml.namespace.QName propName) throws MetaDataViolationException
propName
- the name of the ResourceProperty
to remove.
ResourceProperty
that was removed. Null if the property does not exist or was not
removed.
MetaDataViolationException
public int size()
public org.w3c.dom.Element toElement() throws org.apache.commons.lang.SerializationException
org.apache.commons.lang.SerializationException
public javax.xml.soap.SOAPElement toSOAPElement() throws org.apache.commons.lang.SerializationException
org.apache.commons.lang.SerializationException
public java.lang.String toXML()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |