|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.ws.resource.properties.impl.XmlBeansResourcePropertySet
An Apache XMLBeans-based implementation of a resource property set.
Constructor Summary | |
XmlBeansResourcePropertySet(org.apache.xmlbeans.XmlObject propsDocXBean)
Creates a new XmlBeansResourcePropertySet object. |
|
XmlBeansResourcePropertySet(org.apache.xmlbeans.XmlObject propsDocXBean,
ResourcePropertySetMetaData metaData)
Creates a new XmlBeansResourcePropertySet object. |
Method Summary | |
boolean |
add(ResourceProperty prop)
DOCUMENT_ME |
void |
clear()
Removes all properties. |
ResourceProperty |
create(ResourcePropertyMetaData metaData)
A factory method for creating |
ResourceProperty |
get(javax.xml.namespace.QName propName)
DOCUMENT_ME |
ResourcePropertySetMetaData |
getMetaData()
DOCUMENT_ME |
protected java.lang.String |
getPropsDocClassName(javax.xml.namespace.QName resourcePropsDocElemQName)
Gets the XmlBean Java classname representing the resource property document. |
boolean |
isEmpty()
Returns true if, and only if, this set contains no properties. |
java.util.Iterator |
iterator()
DOCUMENT_ME |
boolean |
remove(javax.xml.namespace.QName propName)
DOCUMENT_ME |
boolean |
set(ResourceProperty prop)
Forces the removal/addition of a ResourceProperty...This will not check with the schema and is intended to be used when the user intends to "replace" the internal ResourceProperty with something else. |
int |
size()
Returns the number of properties in this set. |
org.w3c.dom.Element |
toElement()
DOCUMENT_ME |
javax.xml.soap.SOAPElement |
toSOAPElement()
DOCUMENT_ME |
java.lang.String |
toString()
DOCUMENT_ME |
java.lang.String |
toXML()
Returns the XML representation of this property set (i.e. |
org.apache.xmlbeans.XmlObject |
toXmlObject()
DOCUMENT_ME |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public XmlBeansResourcePropertySet(org.apache.xmlbeans.XmlObject propsDocXBean) throws MetaDataViolationException
XmlBeansResourcePropertySet
object.
propsDocXBean
- DOCUMENT_MEpublic XmlBeansResourcePropertySet(org.apache.xmlbeans.XmlObject propsDocXBean, ResourcePropertySetMetaData metaData) throws MetaDataViolationException
XmlBeansResourcePropertySet
object.
propsDocXBean
- DOCUMENT_MEmetaData
- metadata describing this property setMethod Detail |
protected java.lang.String getPropsDocClassName(javax.xml.namespace.QName resourcePropsDocElemQName)
resourcePropsDocElemQName
- the QName of the resource property document
public boolean isEmpty()
ResourcePropertySet
isEmpty
in interface ResourcePropertySet
public ResourcePropertySetMetaData getMetaData()
getMetaData
in interface ResourcePropertySet
public boolean add(ResourceProperty prop) throws MetaDataViolationException
add
in interface ResourcePropertySet
prop
- DOCUMENT_ME
MetaDataViolationException
public void clear() throws MetaDataViolationException
ResourcePropertySet
clear
in interface ResourcePropertySet
MetaDataViolationException
public ResourceProperty create(ResourcePropertyMetaData metaData)
metaData
-
public ResourceProperty get(javax.xml.namespace.QName propName)
get
in interface ResourcePropertySet
propName
- DOCUMENT_ME
public java.util.Iterator iterator()
iterator
in interface ResourcePropertySet
public boolean remove(javax.xml.namespace.QName propName) throws MetaDataViolationException
remove
in interface ResourcePropertySet
propName
- DOCUMENT_ME
MetaDataViolationException
public boolean set(ResourceProperty prop)
prop
- The ResourceProperty which will be overwritten
public int size()
ResourcePropertySet
size
in interface ResourcePropertySet
public org.w3c.dom.Element toElement() throws org.apache.commons.lang.SerializationException
toElement
in interface ResourcePropertySet
org.apache.commons.lang.SerializationException
- DOCUMENT_MEpublic javax.xml.soap.SOAPElement toSOAPElement() throws org.apache.commons.lang.SerializationException
toSOAPElement
in interface ResourcePropertySet
org.apache.commons.lang.SerializationException
- DOCUMENT_MEpublic java.lang.String toString()
public java.lang.String toXML()
ResourcePropertySet
toXML
in interface ResourcePropertySet
public org.apache.xmlbeans.XmlObject toXmlObject()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |