public abstract class

XNode

extends Object
implements Node
java.lang.Object
   ↳ com.pnfsoftware.jeb.util.encoding.xml.XNode
Known Direct Subclasses
Known Indirect Subclasses

Class Overview

Implementation of the Node API used by XmlParser.

Summary

[Expand]
Inherited Constants
From interface org.w3c.dom.Node
Public Constructors
XNode()
Public Methods
Node appendChild(Node newChild)
Node cloneNode(boolean deep)
short compareDocumentPosition(Node other)
static XNode findNodeByName(Collection<? extends XNode> nodes, String wantedName)
NamedNodeMap getAttributes()
String getBaseURI()
NodeList getChildNodes()
static NodeList getDescendantElementsByTagName(XNode startNode, String name)
Object getFeature(String feature, String version)
Node getFirstChild()
Node getLastChild()
String getLocalName()
String getNamespaceURI()
Node getNextSibling()
Document getOwnerDocument()
Node getParentNode()
String getPrefix()
Node getPreviousSibling()
String getTextContent()
Object getUserData(String key)
boolean hasAttributes()
boolean hasChildNodes()
void initChildren(List<XNode> nodes)
Node insertBefore(Node newChild, Node refChild)
boolean isDefaultNamespace(String namespaceURI)
boolean isEqualNode(Node arg)
boolean isSameNode(Node other)
boolean isSupported(String feature, String version)
String lookupNamespaceURI(String prefix)
String lookupPrefix(String namespaceURI)
void normalize()
boolean ofType(int... candidates)
Node removeChild(Node oldChild)
Node replaceChild(Node newChild, Node oldChild)
void setNodeValue(String nodeValue)
void setPrefix(String prefix)
void setTextContent(String textContent)
Object setUserData(String key, Object data, UserDataHandler handler)
[Expand]
Inherited Methods
From class java.lang.Object
From interface org.w3c.dom.Node

Public Constructors

public XNode ()

Public Methods

public Node appendChild (Node newChild)

Throws
DOMException

public Node cloneNode (boolean deep)

public short compareDocumentPosition (Node other)

Throws
DOMException

public static XNode findNodeByName (Collection<? extends XNode> nodes, String wantedName)

public NamedNodeMap getAttributes ()

public String getBaseURI ()

public NodeList getChildNodes ()

public static NodeList getDescendantElementsByTagName (XNode startNode, String name)

public Object getFeature (String feature, String version)

public Node getFirstChild ()

public Node getLastChild ()

public String getLocalName ()

public String getNamespaceURI ()

public Node getNextSibling ()

public Document getOwnerDocument ()

public Node getParentNode ()

public String getPrefix ()

public Node getPreviousSibling ()

public String getTextContent ()

Throws
DOMException

public Object getUserData (String key)

public boolean hasAttributes ()

public boolean hasChildNodes ()

public void initChildren (List<XNode> nodes)

public Node insertBefore (Node newChild, Node refChild)

Throws
DOMException

public boolean isDefaultNamespace (String namespaceURI)

public boolean isEqualNode (Node arg)

public boolean isSameNode (Node other)

public boolean isSupported (String feature, String version)

public String lookupNamespaceURI (String prefix)

public String lookupPrefix (String namespaceURI)

public void normalize ()

public boolean ofType (int... candidates)

public Node removeChild (Node oldChild)

Throws
DOMException

public Node replaceChild (Node newChild, Node oldChild)

Throws
DOMException

public void setNodeValue (String nodeValue)

Throws
DOMException

public void setPrefix (String prefix)

Throws
DOMException

public void setTextContent (String textContent)

Throws
DOMException

public Object setUserData (String key, Object data, UserDataHandler handler)