## org.apache.xerces.impl.xs.opti
Class SchemaDOM

    java.lang.Object
      |
      +--org.apache.xerces.impl.xs.opti.DefaultNode
            |
            +--org.apache.xerces.impl.xs.opti.NodeImpl
                  |
                  +--org.apache.xerces.impl.xs.opti.DefaultDocument
                        |
                        +--org.apache.xerces.impl.xs.opti.SchemaDOM

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

public class SchemaDOM
extends DefaultDocument

Version:
  $Id: SchemaDOM.java,v 1.2 2002/12/13 17:23:24 sandygao Exp $
Author:
  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_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE`

Constructor Summary
`SchemaDOM()`

Method Summary
`void` `characters(org.apache.xerces.xni.XMLString text, org.apache.xerces.xni.Augmentations augs)`
`void` `emptyElement(org.apache.xerces.xni.QName element, org.apache.xerces.xni.XMLAttributes attributes, org.apache.xerces.xni.Augmentations augs, int line, int column)`
`void` `endElement(org.apache.xerces.xni.QName element, org.apache.xerces.xni.Augmentations augs)`
`org.w3c.dom.Element` `getDocumentElement()`
`static void` `indent(int amount)`
`void` `printDOM()`
`void` `reset()`
`void` `startElement(org.apache.xerces.xni.QName element, org.apache.xerces.xni.XMLAttributes attributes, org.apache.xerces.xni.Augmentations augs, int line, int column)`
`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, getActualEncoding, getConfig, getDoctype, getDocumentURI, getElementById, getElementsByTagName, getElementsByTagNameNS, getEncoding, getImplementation, getStandalone, getStrictErrorChecking, getVersion, importNode, normalizeDocument, renameNode, setActualEncoding, setDocumentURI, setEncoding, setStandalone, setStrictErrorChecking, setVersion`

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, 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, toString, wait, wait, wait`

Methods inherited from interface org.w3c.dom.Node
`appendChild, cloneNode, getAttributes, getChildNodes, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, hasAttributes, hasChildNodes, insertBefore, isSupported, normalize, removeChild, replaceChild, setNodeValue, setPrefix`

Constructor Detail

### SchemaDOM

    public SchemaDOM()

Method Detail

### startElement

    public void startElement(org.apache.xerces.xni.QName element,
                             org.apache.xerces.xni.XMLAttributes attributes,
                             org.apache.xerces.xni.Augmentations augs,
                             int line,
                             int column)
                      throws org.apache.xerces.xni.XNIException

### emptyElement

    public void emptyElement(org.apache.xerces.xni.QName element,
                             org.apache.xerces.xni.XMLAttributes attributes,
                             org.apache.xerces.xni.Augmentations augs,
                             int line,
                             int column)
                      throws org.apache.xerces.xni.XNIException

### endElement

    public void endElement(org.apache.xerces.xni.QName element,
                           org.apache.xerces.xni.Augmentations augs)
                    throws org.apache.xerces.xni.XNIException

### characters

    public void characters(org.apache.xerces.xni.XMLString text,
                           org.apache.xerces.xni.Augmentations augs)
                    throws org.apache.xerces.xni.XNIException

### reset

    public void reset()

### printDOM

    public void printDOM()

### traverse

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

### indent

    public static void indent(int amount)

### getDocumentElement

    public org.w3c.dom.Element getDocumentElement()

  Overrides:
    `getDocumentElement` in class `DefaultDocument`

Copyright © 1999-2003 Apache XML Project. All Rights Reserved.