Class SchemaDOM
- java.lang.Object
-
- org.smooks.engine.delivery.sax.ng.org.apache.xerces.impl.xs.opti.DefaultNode
-
- org.smooks.engine.delivery.sax.ng.org.apache.xerces.impl.xs.opti.NodeImpl
-
- org.smooks.engine.delivery.sax.ng.org.apache.xerces.impl.xs.opti.DefaultDocument
-
- org.smooks.engine.delivery.sax.ng.org.apache.xerces.impl.xs.opti.SchemaDOM
-
public class SchemaDOM extends DefaultDocument
- Version:
- $Id$
- Author:
- Rahul Srivastava, Sun Microsystems Inc., Sandy Gao, IBM
-
-
Field Summary
-
Fields inherited from interface org.w3c.dom.Node
ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_POSITION_CONTAINED_BY, DOCUMENT_POSITION_CONTAINS, DOCUMENT_POSITION_DISCONNECTED, DOCUMENT_POSITION_FOLLOWING, DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC, DOCUMENT_POSITION_PRECEDING, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE
-
-
Constructor Summary
Constructors Constructor Description SchemaDOM()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ElementImpl
emptyElement(QName element, XMLAttributes attributes, int line, int column)
ElementImpl
emptyElement(QName element, XMLAttributes attributes, int line, int column, int offset)
void
endElement()
Element
getDocumentElement()
DOMImplementation
getImplementation()
static void
indent(int amount)
void
printDOM()
void
reset()
ElementImpl
startElement(QName element, XMLAttributes attributes, int line, int column)
ElementImpl
startElement(QName element, XMLAttributes attributes, int line, int column, int offset)
static void
traverse(Node node, int depth)
-
Methods inherited from class org.smooks.engine.delivery.sax.ng.org.apache.xerces.impl.xs.opti.DefaultDocument
adoptNode, createAttribute, createAttributeNS, createCDATASection, createComment, createDocumentFragment, createElement, createElementNS, createEntityReference, createProcessingInstruction, createTextNode, getDoctype, getDocumentURI, getDomConfig, getElementById, getElementsByTagName, getElementsByTagNameNS, getInputEncoding, getNodeName, getStrictErrorChecking, getXmlEncoding, getXmlStandalone, getXmlVersion, importNode, normalizeDocument, renameNode, setDocumentURI, setStrictErrorChecking, setXmlStandalone, setXmlVersion
-
Methods inherited from class org.smooks.engine.delivery.sax.ng.org.apache.xerces.impl.xs.opti.NodeImpl
getLocalName, getNamespaceURI, getNodeType, getPrefix, getReadOnly, setReadOnly, toString
-
Methods inherited from class org.smooks.engine.delivery.sax.ng.org.apache.xerces.impl.xs.opti.DefaultNode
appendChild, cloneNode, compareDocumentPosition, getAttributes, getBaseURI, getChildNodes, getFeature, getFirstChild, getLastChild, getNextSibling, getNodeValue, getOwnerDocument, getParentNode, getPreviousSibling, getTextContent, getUserData, hasAttributes, hasChildNodes, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, removeChild, replaceChild, setNodeValue, setPrefix, setTextContent, setUserData
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.w3c.dom.Node
appendChild, cloneNode, compareDocumentPosition, getAttributes, getBaseURI, getChildNodes, getFeature, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeType, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, getTextContent, getUserData, hasAttributes, hasChildNodes, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, removeChild, replaceChild, setNodeValue, setPrefix, setTextContent, setUserData
-
-
-
-
Method Detail
-
startElement
public ElementImpl startElement(QName element, XMLAttributes attributes, int line, int column, int offset)
-
emptyElement
public ElementImpl emptyElement(QName element, XMLAttributes attributes, int line, int column, int offset)
-
startElement
public ElementImpl startElement(QName element, XMLAttributes attributes, int line, int column)
-
emptyElement
public ElementImpl emptyElement(QName element, XMLAttributes attributes, int line, int column)
-
endElement
public void endElement()
-
reset
public void reset()
-
printDOM
public void printDOM()
-
traverse
public static void traverse(Node node, int depth)
-
indent
public static void indent(int amount)
-
getDocumentElement
public Element getDocumentElement()
- Specified by:
getDocumentElement
in interfaceDocument
- Overrides:
getDocumentElement
in classDefaultDocument
-
getImplementation
public DOMImplementation getImplementation()
- Specified by:
getImplementation
in interfaceDocument
- Overrides:
getImplementation
in classDefaultDocument
-
-