|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ResourcePropertySet
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 |
|---|
boolean add(ResourceProperty property)
property - the ResourceProperty to add.
boolean remove(javax.xml.namespace.QName propName)
propName - the name of the ResourceProperty to remove.
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.ResourceProperty create(ResourcePropertyMetaData rpMetaData)
add method is called.
java.util.Iterator iterator()
ResourceProperty entries.
ResourceProperty entries.void clear()
int size()
boolean isEmpty()
boolean isOpenContent()
isOpenContent might
return true but only certain subset of resource
properties will be allowed to be added.javax.xml.namespace.QName getName()
javax.xml.soap.SOAPElement toSOAPElement()
throws SerializationException
SerializationException
org.w3c.dom.Element toElement()
throws SerializationException
SerializationException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||