|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.systinet.wasp.addressing.ReferenceProperties
WS-Addressing wsa:ReferenceProperties implementation (an element of wsa:EndpointReference)
API inherited from SOAPElement can be used for setting properties. However, some methods are not supported, see methods javadoc.
| Field Summary | |
static java.lang.String |
LOCAL_NAME
|
| Fields inherited from interface org.systinet.wasp.addressing.ReferencePropertiesInternal |
NAMESPACE_URI_INTERNAL |
| Constructor Summary | |
ReferenceProperties()
Constructs new empty ReferenceProperties |
|
| Method Summary | |
SOAPElement |
addAttribute(Name name,
java.lang.String value)
Not supported, always throws UnsupportedOperationException |
SOAPElement |
addChildElement(Name name)
Creates a new SOAPElement object initialized with the
given Name object and adds the new element to this
SOAPElement object. |
SOAPElement |
addChildElement(SOAPElement element)
Add a SOAPElement as a child of this
SOAPElement instance. |
SOAPElement |
addChildElement(java.lang.String localName)
Creates a new SOAPElement object initialized with the
given String object and adds the new element to this
SOAPElement object. |
SOAPElement |
addChildElement(java.lang.String localName,
java.lang.String prefix)
Creates a new SOAPElement object initialized with the
specified local name and prefix and adds the new element to this
SOAPElement object. |
SOAPElement |
addChildElement(java.lang.String localName,
java.lang.String prefix,
java.lang.String uri)
Creates a new SOAPElement object initialized with the
specified local name, prefix, and URI and adds the new element to this
SOAPElement object. |
SOAPElement |
addNamespaceDeclaration(java.lang.String prefix,
java.lang.String uri)
Not supported, always throws UnsupportedOperationException |
SOAPElement |
addTextNode(java.lang.String text)
Not supported, always throws UnsupportedOperationException |
void |
detachNode()
Not supported, always throws UnsupportedOperationException |
boolean |
equals(java.lang.Object o)
Current implementation checks if the set of Names under root element is the same and only if their subnodes are text nodes, their values are also compared. |
java.util.Iterator |
getAllAttributes()
Returns an iterator over all of the attribute names in this SOAPElement object. |
java.lang.String |
getAttributeValue(Name name)
Returns the value of the attribute with the specified name. |
java.util.Iterator |
getChildElements()
Returns an iterator over all the immediate content of this element. |
java.util.Iterator |
getChildElements(Name name)
Returns an iterator over all the child elements with the specified name. |
javax.xml.transform.Source |
getContent()
Return source |
Name |
getElementName()
Not supported, always throws UnsupportedOperationException |
java.lang.String |
getEncodingStyle()
Returns the encoding style for this SOAPElement object. |
SOAPElement |
getInternalSOAPElement()
|
java.util.Iterator |
getNamespacePrefixes()
Not supported, always throws UnsupportedOperationException |
java.lang.String |
getNamespaceURI(java.lang.String prefix)
Not supported, always throws UnsupportedOperationException |
SOAPElement |
getParentElement()
Not supported, always throws UnsupportedOperationException |
java.lang.String |
getValue()
Returns the the value of the immediate child of this Node
object if a child exists and its value is text. |
int |
hashCode()
|
void |
readExternal(java.io.ObjectInput in)
* Current implementation deserializes a String created from this instance |
void |
recycleNode()
Notifies the implementation that this Node
object is no longer being used by the application and that the
implementation is free to reuse this object for nodes that may
be created later. |
boolean |
removeAttribute(Name name)
Not supported, always throws UnsupportedOperationException |
boolean |
removeNamespaceDeclaration(java.lang.String prefix)
Not supported, always throws UnsupportedOperationException |
void |
setContent(javax.xml.transform.Source source)
Set content from specified Source. |
void |
setEncodingStyle(java.lang.String encodingStyle)
Sets the encoding style for this SOAPElement object
to one specified. |
void |
setInternalSOAPElement(SOAPElement element)
|
void |
setParentElement(SOAPElement parent)
Not supported, always throws UnsupportedOperationException |
void |
writeExternal(java.io.ObjectOutput out)
Current implementation serializes a String created from this instance |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final java.lang.String LOCAL_NAME
| Constructor Detail |
public ReferenceProperties()
throws SOAPException
SOAPException| Method Detail |
public boolean equals(java.lang.Object o)
o -
public int hashCode()
public SOAPElement addChildElement(Name name)
throws SOAPException
SOAPElementSOAPElement object initialized with the
given Name object and adds the new element to this
SOAPElement object.
addChildElement in interface SOAPElementname - a Name object with the XML name for the
new element
SOAPElement object that was created
SOAPException - if there is an error in creating the
SOAPElement object
public SOAPElement addChildElement(java.lang.String localName)
throws SOAPException
SOAPElementSOAPElement object initialized with the
given String object and adds the new element to this
SOAPElement object.
addChildElement in interface SOAPElementlocalName - a String giving the local name for
the element
SOAPElement object that was created
SOAPException - if there is an error in creating the
SOAPElement object
public SOAPElement addChildElement(java.lang.String localName,
java.lang.String prefix)
throws SOAPException
SOAPElementSOAPElement object initialized with the
specified local name and prefix and adds the new element to this
SOAPElement object.
addChildElement in interface SOAPElementlocalName - a String giving the local name for
the new elementprefix - a String giving the namespace prefix for
the new element
SOAPElement object that was created
SOAPException - if there is an error in creating the
SOAPElement object
public SOAPElement addChildElement(java.lang.String localName,
java.lang.String prefix,
java.lang.String uri)
throws SOAPException
SOAPElementSOAPElement object initialized with the
specified local name, prefix, and URI and adds the new element to this
SOAPElement object.
addChildElement in interface SOAPElementlocalName - a String giving the local name for
the new elementprefix - a String giving the namespace prefix for
the new elementuri - a String giving the URI of the namespace
to which the new element belongs
SOAPElement object that was created
SOAPException - if there is an error in creating the
SOAPElement object
public SOAPElement addChildElement(SOAPElement element)
throws SOAPException
SOAPElementSOAPElement as a child of this
SOAPElement instance. The SOAPElement
is expected to be created by a
SOAPElementFactory. Callers should not rely on the
element instance being added as is into the XML
tree. Implementations could end up copying the content
of the SOAPElement passed into an instance of
a different SOAPElement implementation. For
instance if addChildElement() is called on a
SOAPHeader, element will be copied
into an instance of a SOAPHeaderElement.
The fragment rooted in element is either added
as a whole or not at all, if there was an error.
The fragment rooted in element cannot contain
elements named "Envelope", "Header" or "Body" and in the SOAP
namespace. Any namespace prefixes present in the fragment
should be fully resolved using appropriate namespace
declarations within the fragment itself.
addChildElement in interface SOAPElementelement - the SOAPElement to be added as a
new child
SOAPException - if there was an error in adding this
element as a child
public SOAPElement addTextNode(java.lang.String text)
throws SOAPException
UnsupportedOperationException
addTextNode in interface SOAPElementtext -
SOAPException
public SOAPElement addAttribute(Name name,
java.lang.String value)
throws SOAPException
UnsupportedOperationException
addAttribute in interface SOAPElementname - value -
SOAPException
public SOAPElement addNamespaceDeclaration(java.lang.String prefix,
java.lang.String uri)
throws SOAPException
UnsupportedOperationException
addNamespaceDeclaration in interface SOAPElementprefix - uri -
SOAPExceptionpublic java.lang.String getAttributeValue(Name name)
SOAPElement
getAttributeValue in interface SOAPElementname - a Name object with the name of the attribute
String giving the value of the specified
attributepublic java.util.Iterator getAllAttributes()
SOAPElementSOAPElement object. The iterator can be used to get
the attribute names, which can then be passed to the method
getAttributeValue to retrieve the value of each
attribute.
getAllAttributes in interface SOAPElementpublic java.lang.String getNamespaceURI(java.lang.String prefix)
UnsupportedOperationException
getNamespaceURI in interface SOAPElementprefix -
public java.util.Iterator getNamespacePrefixes()
UnsupportedOperationException
getNamespacePrefixes in interface SOAPElementpublic Name getElementName()
UnsupportedOperationException
getElementName in interface SOAPElementpublic boolean removeAttribute(Name name)
UnsupportedOperationException
removeAttribute in interface SOAPElementname -
public boolean removeNamespaceDeclaration(java.lang.String prefix)
UnsupportedOperationException
removeNamespaceDeclaration in interface SOAPElementprefix -
public java.util.Iterator getChildElements()
SOAPElementText objects as well as
SOAPElement objects.
getChildElements in interface SOAPElementSOAPElement
objectpublic java.util.Iterator getChildElements(Name name)
SOAPElement
getChildElements in interface SOAPElementname - a Name object with the name of the child
elements to be returned
Iterator object over all the elements
in this SOAPElement object with the
specified name
public void setEncodingStyle(java.lang.String encodingStyle)
throws SOAPException
SOAPElementSOAPElement object
to one specified.
setEncodingStyle in interface SOAPElementencodingStyle - a String giving the encoding style
SOAPExceptionSOAPElement.getEncodingStyle()public java.lang.String getEncodingStyle()
SOAPElementSOAPElement object.
getEncodingStyle in interface SOAPElementString giving the encoding styleSOAPElement.setEncodingStyle(java.lang.String)public java.lang.String getValue()
NodeNode
object if a child exists and its value is text.
getValue in interface NodeString with the text of the immediate child of
this Node object if (1) there is a child and
(2) the child is a Text object;
null otherwise
public void setParentElement(SOAPElement parent)
throws SOAPException
UnsupportedOperationException
setParentElement in interface Nodeparent -
SOAPExceptionNode.getParentElement()public SOAPElement getParentElement()
UnsupportedOperationException
getParentElement in interface NodeNode.setParentElement(javax.xml.soap.SOAPElement)public void detachNode()
UnsupportedOperationException
detachNode in interface Nodepublic void recycleNode()
NodeNode
object is no longer being used by the application and that the
implementation is free to reuse this object for nodes that may
be created later.
Calling the method recycleNode implies that the method
detachNode has been called previously.
recycleNode in interface Node
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
readExternal in interface java.io.Externalizablein -
java.io.IOException
java.lang.ClassNotFoundException
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
writeExternal in interface java.io.Externalizableout -
java.io.IOExceptionpublic javax.xml.transform.Source getContent()
public void setContent(javax.xml.transform.Source source)
source - instance of org.idoox.xml.TokenizerSourcepublic SOAPElement getInternalSOAPElement()
getInternalSOAPElement in interface org.systinet.wasp.addressing.ReferencePropertiesInternalpublic void setInternalSOAPElement(SOAPElement element)
setInternalSOAPElement in interface org.systinet.wasp.addressing.ReferencePropertiesInternal
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||