org.apache.xerces.impl.xs.opti

Class SchemaDOM

Implemented Interfaces:
Document, Node

public class SchemaDOM
extends DefaultDocument

Version:
$Id: SchemaDOM.java,v 1.11 2005/07/22 21:42:26 mrglavas Exp $
Authors:
Rahul Srivastava, Sun Microsystems Inc.
Sandy Gao, IBM

Constructor Summary

SchemaDOM()

Method Summary

void
emptyElement(org.apache.xerces.xni.QName element, org.apache.xerces.xni.XMLAttributes attributes, int line, int column)
void
emptyElement(org.apache.xerces.xni.QName element, org.apache.xerces.xni.XMLAttributes attributes, int line, int column, int offset)
void
endElement()
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, int line, int column)
void
startElement(org.apache.xerces.xni.QName element, org.apache.xerces.xni.XMLAttributes attributes, int line, int column, int offset)
static void
traverse(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 void emptyElement(org.apache.xerces.xni.QName element,
                         org.apache.xerces.xni.XMLAttributes attributes,
                         int line,
                         int column)

emptyElement

public void 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 Element getDocumentElement()
Overrides:
getDocumentElement in interface DefaultDocument

indent

public static void indent(int amount)

printDOM

public void printDOM()

reset

public void reset()

startElement

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

startElement

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

traverse

public static void traverse(Node node,
                            int depth)

Copyright B) 1999-2005 Apache XML Project. All Rights Reserved.