Skip navigation links 
 
oracle.jbo.mom.xml
Class NodeDefNode
java.lang.Object
  
oracle.jbo.mom.xml.NodeDefNode
- All Implemented Interfaces:
 
- DefNode
 
- 
public class NodeDefNode
 
- extends java.lang.Object
 
- implements DefNode
 
This class implements the 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.
- See Also:
 
DefNode 
 
 
  
 
  
 
 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
 
NodeDefNode
public NodeDefNode(Node node)
normalize
public static final DefNode normalize(java.lang.Object obj)
getLocalName
public java.lang.String getLocalName()
- 
- Specified by:
 
getLocalName in interface DefNode 
 
getNamespaceURI
public java.lang.String getNamespaceURI()
- 
- Specified by:
 
getNamespaceURI in interface DefNode 
 
getNodeName
public java.lang.String getNodeName()
- 
- Specified by:
 
getNodeName in interface DefNode 
 
getNodeType
public short getNodeType()
- 
- Specified by:
 
getNodeType in interface DefNode 
 
getNodeValue
public java.lang.String getNodeValue()
- 
- Specified by:
 
getNodeValue in interface DefNode 
 
Skip navigation links 
 
Copyright © 1997, 2015, Oracle. All rights reserved.