API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.xml.soap. Node View Source
Author(s)
Since
Version
Serial
Hierarchy
 Node
      Node
Subinterfaces
Description
public interface Node
  A representation of a node (element) in an XML document.
See also:   
Methods
Hide/Show inherited methods
public void detachNode ()
Removes this Node object from the tree.
public SOAPElement getParentElement ()
  Returns the parent element of this Node object.
public 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.
public 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.
public void setParentElement (SOAPElement parent) throws SOAPException
  Sets the parent of this Node object to the given SOAPElement object.
public void setValue (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.
Fields
Hide/Show inherited fields
publicfinalstatic short ATTRIBUTE_NODE = "2" [Inherited From Node]
The node is an Attr.
publicfinalstatic short CDATA_SECTION_NODE = "4" [Inherited From Node]
The node is a CDATASection.
publicfinalstatic short COMMENT_NODE = "8" [Inherited From Node]
The node is a Comment.
publicfinalstatic short DOCUMENT_FRAGMENT_NODE = "11" [Inherited From Node]
The node is a DocumentFragment.
publicfinalstatic short DOCUMENT_NODE = "9" [Inherited From Node]
The node is a Document.
publicfinalstatic short DOCUMENT_POSITION_CONTAINED_BY = "16" [Inherited From Node]
  The node is contained by the reference node.
publicfinalstatic short DOCUMENT_POSITION_CONTAINS = "8" [Inherited From Node]
  The node contains the reference node.
publicfinalstatic short DOCUMENT_POSITION_DISCONNECTED = "1" [Inherited From Node]
  The two nodes are disconnected.
publicfinalstatic short DOCUMENT_POSITION_FOLLOWING = "4" [Inherited From Node]
The node follows the reference node.
publicfinalstatic short DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC = "32" [Inherited From Node]
The determination of preceding versus following is implementation-specific.
publicfinalstatic short DOCUMENT_POSITION_PRECEDING = "2" [Inherited From Node]
The second node precedes the reference node.
publicfinalstatic short DOCUMENT_TYPE_NODE = "10" [Inherited From Node]
The node is a DocumentType.
publicfinalstatic short ELEMENT_NODE = "1" [Inherited From Node]
The node is an Element.
publicfinalstatic short ENTITY_NODE = "6" [Inherited From Node]
The node is an Entity.
publicfinalstatic short ENTITY_REFERENCE_NODE = "5" [Inherited From Node]
The node is an EntityReference.
publicfinalstatic short NOTATION_NODE = "12" [Inherited From Node]
The node is a Notation.
publicfinalstatic short PROCESSING_INSTRUCTION_NODE = "7" [Inherited From Node]
The node is a ProcessingInstruction.
publicfinalstatic short TEXT_NODE = "3" [Inherited From Node]
The node is a Text node.
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar