Java Reference
In-Depth Information
Node Types
INteger
VaLue
type NaMe
INtrODuCeD
assOCIateD Data t ype
1
Level 1
ELEMENT_NODE
Element
2
Level 1
ATTRIBUTE_NODE
Attr
3
Level 1
TEXT_NODE
Text
4
Level 1
CDATA_SECTION_NODE
CDATASection
5
Level 1
ENTITY_REFERENCE_NODE
EntityReference
6
Level 1
ENTITY_NODE
Entity
7
Level 1
PROCESSING_INSTRUCTION_NODE
ProcessingInstruction
8
Level 1
COMMENT_NODE
Comment
9
Level 1
DOCUMENT_NODE
Document
10
Level 1
DOCUMENT_TYPE_NODE
DocumentType
11
Level 1
DOCUMENT_FRAGMENT_NODE
DocumentFragment
12
Level 1
NOTATION_NODE
Notation
Properties
prOperty NaMe
DesCrIptION
INtrODuCeD
A NamedNodeMap containing the attributes of this
node if it is an Element , or null otherwise.
Level 1
attributes
A NodeList containing all children of this node.
Level 1
childNodes
Gets the first child of this node. Returns null if no
child exists.
Level 1
firstChild
Gets the last child of this node. Returns null if no
child exists.
Level 1
lastChild
Returns the local part of the node's qualified
name (the part after the colon of the qualified
name when namespaces are used). Used primarily
in XML DOMs.
Level 2
localName
The namespace URI of the node, or null if not
specified.
Level 2
namespaceURI
Search WWH ::




Custom Search