public class NodeDefNode extends java.lang.Object implements DefNode
DefNode interface
 by creating a wrapper around some sort of Node object.
 
 Currently, it is required that the wrapped objects actually be of type
 Text or Attr, but that requirement might
 conceivably be relaxed in a future release, to also support
 Comment and ProcessingInstruction.
 
 To create a wrapper around an Element object,
 construct an ElementDefElement object.
 Or better yet, to create a wrapper around an Element
 or Text object (unless the object already implements
 DefNode), use the normalize method.
 
DefNodeATTRIBUTE_NODE, CDATA_SECTION_NODE, ELEMENT_NODE, TEXT_NODE| Constructor and Description | 
|---|
| NodeDefNode(Node node) | 
| Modifier and Type | Method and Description | 
|---|---|
| java.lang.String | getLocalName() | 
| java.lang.String | getNamespaceURI() | 
| java.lang.String | getNodeName() | 
| short | getNodeType() | 
| java.lang.String | getNodeValue() | 
| static DefNode | normalize(java.lang.Object obj) | 
public NodeDefNode(Node node)
public static final DefNode normalize(java.lang.Object obj)
public java.lang.String getLocalName()
getLocalName in interface DefNodepublic java.lang.String getNamespaceURI()
getNamespaceURI in interface DefNodepublic java.lang.String getNodeName()
getNodeName in interface DefNodepublic short getNodeType()
getNodeType in interface DefNodepublic java.lang.String getNodeValue()
getNodeValue in interface DefNode