|
||||||||||
PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.axis.message.NodeImpl
An implemenation of the abstract Node.
This class should not expose functionality that is not part ofNode
(src) . Client code should use javax.xml.soap.Node
instead of this class.
When creating a DOM2 tree the objects maintained by the tree are org.w3c.dom.Node
objects
and not javax.xml.soap.Node
objects.
This implementation schields the client from the the underlying DOM2 tree, returning javax.xml.soap.Node
objects.
Field Summary | |
protected org.w3c.dom.Node |
domNode
|
protected SOAPElementImpl (src) |
soapParent
|
Fields inherited from interface org.w3c.dom.Node |
ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE |
Method Summary | |
org.w3c.dom.Node |
appendChild(org.w3c.dom.Node newChild)
|
org.w3c.dom.Node |
cloneNode(boolean deep)
|
short |
compareDocumentPosition(org.w3c.dom.Node other)
|
void |
detachNode()
Removes this Node object from the tree. |
org.w3c.dom.NamedNodeMap |
getAttributes()
|
java.lang.String |
getBaseURI()
|
org.w3c.dom.NodeList |
getChildNodes()
|
java.lang.Object |
getFeature(java.lang.String feature,
java.lang.String version)
|
org.w3c.dom.Node |
getFirstChild()
|
org.w3c.dom.Node |
getLastChild()
|
java.lang.String |
getLocalName()
|
java.lang.String |
getNamespaceURI()
|
org.w3c.dom.Node |
getNextSibling()
|
java.lang.String |
getNodeName()
|
short |
getNodeType()
|
java.lang.String |
getNodeValue()
|
org.w3c.dom.Document |
getOwnerDocument()
|
SOAPElement (src) |
getParentElement()
Returns the parent node of this Node object. |
org.w3c.dom.Node |
getParentNode()
|
java.lang.String |
getPrefix()
|
org.w3c.dom.Node |
getPreviousSibling()
|
java.lang.String |
getTextContent()
|
java.lang.Object |
getUserData(java.lang.String key)
|
java.lang.String |
getValue()
Returns the value of this node if this is a Text node or the value of the immediate child of this node otherwise. |
boolean |
hasAttributes()
|
boolean |
hasChildNodes()
|
int |
hashCode()
|
org.w3c.dom.Node |
insertBefore(org.w3c.dom.Node newChild,
org.w3c.dom.Node refChild)
|
boolean |
isDefaultNamespace(java.lang.String namespaceURI)
|
boolean |
isEqualNode(org.w3c.dom.Node arg)
|
boolean |
isSameNode(org.w3c.dom.Node other)
|
boolean |
isSupported(java.lang.String feature,
java.lang.String version)
|
java.lang.String |
lookupNamespaceURI(java.lang.String prefix)
|
java.lang.String |
lookupPrefix(java.lang.String namespaceURI)
|
void |
normalize()
|
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. |
org.w3c.dom.Node |
removeChild(org.w3c.dom.Node oldChild)
|
org.w3c.dom.Node |
replaceChild(org.w3c.dom.Node newChild,
org.w3c.dom.Node oldChild)
|
void |
setNodeValue(java.lang.String nodeValue)
|
void |
setParentElement(SOAPElement (src) parent)
Sets the parent of this Node object to the given SOAPElement object. |
void |
setPrefix(java.lang.String prefix)
|
void |
setTextContent(java.lang.String textContent)
|
java.lang.Object |
setUserData(java.lang.String key,
java.lang.Object data,
UserDataHandler (src) handler)
|
void |
setValue(java.lang.String value)
If this is a Text node then this method will set its value, otherwise it sets the value of the immediate (Text) child of this node. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
protected SOAPElementImpl (src) soapParent
protected org.w3c.dom.Node domNode
Method Detail |
public void detachNode()
detachNode
in interface Node (src)
public SOAPElement (src) getParentElement()
getParentElement
in interface Node (src)
public void setParentElement(SOAPElement (src) parent) throws SOAPException (src)
setParentElement
in interface Node (src)
parent
- the SOAPElement object to be set as the parent of this Node object
SOAPException (src)
- if there is a problem in setting the parent to the given nodepublic java.lang.String getValue()
getValue
in interface Node (src)
public void setValue(java.lang.String value)
setValue
in interface Node (src)
value
- A value string
java.lang.IllegalStateException
- if the node is not a Text node and either has more than one child node or has a child node that is not a Text node.public void recycleNode()
recycleNode
in interface Node (src)
public java.lang.String getNodeName()
getNodeName
in interface org.w3c.dom.Node
public java.lang.String getNodeValue() throws org.w3c.dom.DOMException
getNodeValue
in interface org.w3c.dom.Node
org.w3c.dom.DOMException
public void setNodeValue(java.lang.String nodeValue) throws org.w3c.dom.DOMException
setNodeValue
in interface org.w3c.dom.Node
org.w3c.dom.DOMException
public short getNodeType()
getNodeType
in interface org.w3c.dom.Node
public org.w3c.dom.Node getParentNode()
getParentNode
in interface org.w3c.dom.Node
public org.w3c.dom.NodeList getChildNodes()
getChildNodes
in interface org.w3c.dom.Node
public org.w3c.dom.Node getFirstChild()
getFirstChild
in interface org.w3c.dom.Node
public org.w3c.dom.Node getLastChild()
getLastChild
in interface org.w3c.dom.Node
public org.w3c.dom.Node getPreviousSibling()
getPreviousSibling
in interface org.w3c.dom.Node
public org.w3c.dom.Node getNextSibling()
getNextSibling
in interface org.w3c.dom.Node
public org.w3c.dom.NamedNodeMap getAttributes()
getAttributes
in interface org.w3c.dom.Node
public org.w3c.dom.Document getOwnerDocument()
getOwnerDocument
in interface org.w3c.dom.Node
public org.w3c.dom.Node insertBefore(org.w3c.dom.Node newChild, org.w3c.dom.Node refChild) throws org.w3c.dom.DOMException
insertBefore
in interface org.w3c.dom.Node
org.w3c.dom.DOMException
public org.w3c.dom.Node replaceChild(org.w3c.dom.Node newChild, org.w3c.dom.Node oldChild) throws org.w3c.dom.DOMException
replaceChild
in interface org.w3c.dom.Node
org.w3c.dom.DOMException
public org.w3c.dom.Node removeChild(org.w3c.dom.Node oldChild) throws org.w3c.dom.DOMException
removeChild
in interface org.w3c.dom.Node
org.w3c.dom.DOMException
public org.w3c.dom.Node appendChild(org.w3c.dom.Node newChild) throws org.w3c.dom.DOMException
appendChild
in interface org.w3c.dom.Node
org.w3c.dom.DOMException
public boolean hasChildNodes()
hasChildNodes
in interface org.w3c.dom.Node
public org.w3c.dom.Node cloneNode(boolean deep)
cloneNode
in interface org.w3c.dom.Node
public void normalize()
normalize
in interface org.w3c.dom.Node
public boolean isSupported(java.lang.String feature, java.lang.String version)
isSupported
in interface org.w3c.dom.Node
public java.lang.String getNamespaceURI()
getNamespaceURI
in interface org.w3c.dom.Node
public java.lang.String getPrefix()
getPrefix
in interface org.w3c.dom.Node
public void setPrefix(java.lang.String prefix) throws org.w3c.dom.DOMException
setPrefix
in interface org.w3c.dom.Node
org.w3c.dom.DOMException
public java.lang.String getLocalName()
getLocalName
in interface org.w3c.dom.Node
public boolean hasAttributes()
hasAttributes
in interface org.w3c.dom.Node
public int hashCode()
public java.lang.String toString()
public java.lang.String getBaseURI()
public short compareDocumentPosition(org.w3c.dom.Node other) throws org.w3c.dom.DOMException
org.w3c.dom.DOMException
public java.lang.String getTextContent() throws org.w3c.dom.DOMException
org.w3c.dom.DOMException
public void setTextContent(java.lang.String textContent) throws org.w3c.dom.DOMException
org.w3c.dom.DOMException
public boolean isSameNode(org.w3c.dom.Node other)
public java.lang.String lookupPrefix(java.lang.String namespaceURI)
public boolean isDefaultNamespace(java.lang.String namespaceURI)
public java.lang.String lookupNamespaceURI(java.lang.String prefix)
public boolean isEqualNode(org.w3c.dom.Node arg)
public java.lang.Object getFeature(java.lang.String feature, java.lang.String version)
public java.lang.Object setUserData(java.lang.String key, java.lang.Object data, UserDataHandler (src) handler)
public java.lang.Object getUserData(java.lang.String key)
|
||||||||||
PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |