org.apache.xerces.impl.xs.opti

Class SchemaDOM

Implemented Interfaces:
org.w3c.dom.Document, org.w3c.dom.Node

public class SchemaDOM
extends DefaultDocument

Version:
$Id: SchemaDOM.java 388860 2006-03-25 23:50:16Z mrglavas $
Authors:
Rahul Srivastava, Sun Microsystems Inc.
Sandy Gao, IBM

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

SchemaDOM()

Method Summary

ElementImpl
emptyElement(org.apache.xerces.xni.QName element, org.apache.xerces.xni.XMLAttributes attributes, int line, int column)
ElementImpl
emptyElement(org.apache.xerces.xni.QName element, org.apache.xerces.xni.XMLAttributes attributes, int line, int column, int offset)
void
endElement()
org.w3c.dom.Element
getDocumentElement()
static void
indent(int amount)
void
printDOM()
void
reset()
ElementImpl
startElement(org.apache.xerces.xni.QName element, org.apache.xerces.xni.XMLAttributes attributes, int line, int column)
ElementImpl
startElement(org.apache.xerces.xni.QName element, org.apache.xerces.xni.XMLAttributes attributes, int line, int column, int offset)
static void
traverse(org.w3c.dom.Node node, int depth)

Methods inherited from class org.apache.xerces.impl.xs.opti.DefaultDocument

adoptNode, createAttribute, createAttributeNS, createCDATASection, createComment, createDocumentFragment, createElement, createElementNS, createEntityReference, createProcessingInstruction, createTextNode, getDoctype, getDocumentElement, getDocumentURI, getDomConfig, getElementById, getElementsByTagName, getElementsByTagNameNS, getImplementation, getInputEncoding, getStrictErrorChecking, getXmlEncoding, getXmlStandalone, getXmlVersion, importNode, normalizeDocument, renameNode, setDocumentURI, setStrictErrorChecking, setXmlStandalone, setXmlVersion

Methods inherited from class org.apache.xerces.impl.xs.opti.NodeImpl

getLocalName, getNamespaceURI, getNodeName, getNodeType, getPrefix, getReadOnly, setReadOnly

Methods inherited from class org.apache.xerces.impl.xs.opti.DefaultNode

appendChild, cloneNode, compareDocumentPosition, getAttributes, getBaseURI, getChildNodes, getFeature, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, getTextContent, getUserData, hasAttributes, hasChildNodes, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, removeChild, replaceChild, setNodeValue, setPrefix, setTextContent, setUserData

Constructor Details

SchemaDOM

public SchemaDOM()

Method Details

emptyElement

public ElementImpl emptyElement(org.apache.xerces.xni.QName element,
                                org.apache.xerces.xni.XMLAttributes attributes,
                                int line,
                                int column)

emptyElement

public ElementImpl emptyElement(org.apache.xerces.xni.QName element,
                                org.apache.xerces.xni.XMLAttributes attributes,
                                int line,
                                int column,
                                int offset)

endElement

public void endElement()

getDocumentElement

public org.w3c.dom.Element getDocumentElement()
Specified by:
getDocumentElement in interface org.w3c.dom.Document
Overrides:
getDocumentElement in interface DefaultDocument

indent

public static void indent(int amount)

printDOM

public void printDOM()

reset

public void reset()

startElement

public ElementImpl startElement(org.apache.xerces.xni.QName element,
                                org.apache.xerces.xni.XMLAttributes attributes,
                                int line,
                                int column)

startElement

public ElementImpl startElement(org.apache.xerces.xni.QName element,
                                org.apache.xerces.xni.XMLAttributes attributes,
                                int line,
                                int column,
                                int offset)

traverse

public static void traverse(org.w3c.dom.Node node,
                            int depth)

Copyright B) 1999-2006 The Apache Software Foundation. All Rights Reserved.