public class

XDocument

extends XNode
implements Document
java.lang.Object
   ↳ com.pnfsoftware.jeb.util.encoding.xml.XNode
     ↳ com.pnfsoftware.jeb.util.encoding.xml.XDocument

Class Overview

Implementation of the XDocument API used by XmlParser. This implementation allows multiple root element nodes.

Summary

[Expand]
Inherited Constants
From interface org.w3c.dom.Node
Public Constructors
XDocument(List<XAttr> declAttributes, XDocumentType doctype)
Public Methods
Node adoptNode(Node source)
Attr createAttribute(String name)
Attr createAttributeNS(String namespaceURI, String qualifiedName)
CDATASection createCDATASection(String data)
Comment createComment(String data)
DocumentFragment createDocumentFragment()
Element createElement(String tagName)
Element createElementNS(String namespaceURI, String qualifiedName)
EntityReference createEntityReference(String name)
ProcessingInstruction createProcessingInstruction(String target, String data)
Text createTextNode(String data)
DocumentType getDoctype()
Element getDocumentElement()
String getDocumentURI()
DOMConfiguration getDomConfig()
Element getElementById(String elementId)
NodeList getElementsByTagName(String name)
NodeList getElementsByTagNameNS(String namespaceURI, String localName)
DOMImplementation getImplementation()
String getInputEncoding()
String getNodeName()
short getNodeType()
String getNodeValue()
boolean getStrictErrorChecking()
String getXmlEncoding()
boolean getXmlStandalone()
String getXmlVersion()
Node importNode(Node importedNode, boolean deep)
void normalizeDocument()
Node renameNode(Node n, String namespaceURI, String qualifiedName)
void setDocumentURI(String documentURI)
void setStrictErrorChecking(boolean strictErrorChecking)
void setXmlStandalone(boolean xmlStandalone)
void setXmlVersion(String xmlVersion)
[Expand]
Inherited Methods
From class com.pnfsoftware.jeb.util.encoding.xml.XNode
From class java.lang.Object
From interface org.w3c.dom.Document
From interface org.w3c.dom.Node

Public Constructors

public XDocument (List<XAttr> declAttributes, XDocumentType doctype)

Public Methods

public Node adoptNode (Node source)

Throws
DOMException

public Attr createAttribute (String name)

Throws
DOMException

public Attr createAttributeNS (String namespaceURI, String qualifiedName)

Throws
DOMException

public CDATASection createCDATASection (String data)

Throws
DOMException

public Comment createComment (String data)

public DocumentFragment createDocumentFragment ()

public Element createElement (String tagName)

Throws
DOMException

public Element createElementNS (String namespaceURI, String qualifiedName)

Throws
DOMException

public EntityReference createEntityReference (String name)

Throws
DOMException

public ProcessingInstruction createProcessingInstruction (String target, String data)

Throws
DOMException

public Text createTextNode (String data)

public DocumentType getDoctype ()

public Element getDocumentElement ()

public String getDocumentURI ()

public DOMConfiguration getDomConfig ()

public Element getElementById (String elementId)

public NodeList getElementsByTagName (String name)

public NodeList getElementsByTagNameNS (String namespaceURI, String localName)

public DOMImplementation getImplementation ()

public String getInputEncoding ()

public String getNodeName ()

public short getNodeType ()

public String getNodeValue ()

Throws
DOMException

public boolean getStrictErrorChecking ()

public String getXmlEncoding ()

public boolean getXmlStandalone ()

public String getXmlVersion ()

public Node importNode (Node importedNode, boolean deep)

Throws
DOMException

public void normalizeDocument ()

public Node renameNode (Node n, String namespaceURI, String qualifiedName)

Throws
DOMException

public void setDocumentURI (String documentURI)

public void setStrictErrorChecking (boolean strictErrorChecking)

public void setXmlStandalone (boolean xmlStandalone)

Throws
DOMException

public void setXmlVersion (String xmlVersion)

Throws
DOMException