|
|||||||||||
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
LOG-DONE 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,
javax.xml.namespace.QName[] readOnlyPropNames)
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 |
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, javax.xml.namespace.QName[] readOnlyPropNames) throws MetaDataViolationException
XmlBeansResourcePropertySet
object.
propsDocXBean
- DOCUMENT_MEreadOnlyPropNames
- names of any properties that should be made read-onlyMethod 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 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 |