org.enhydra.xml.io
Class DOMParser.XercesParser

java.lang.Object
  |
  +--org.enhydra.apache.xerces.parsers.XMLParser
        |
        +--org.enhydra.apache.xerces.parsers.AbstractXMLDocumentParser
              |
              +--org.enhydra.apache.xerces.parsers.AbstractDOMParser
                    |
                    +--org.enhydra.apache.xerces.parsers.DOMParser
                          |
                          +--org.enhydra.xml.io.DOMParser.XercesParser
All Implemented Interfaces:
org.enhydra.apache.xerces.xni.XMLDocumentHandler, org.enhydra.apache.xerces.xni.XMLDTDContentModelHandler, org.enhydra.apache.xerces.xni.XMLDTDHandler
Enclosing class:
DOMParser

class DOMParser.XercesParser
extends org.enhydra.apache.xerces.parsers.DOMParser

Need standarderror handler, this is just a tmp hack.


Field Summary
(package private) static String DEFAULT_DOCUMENT_CLASS_NAME_XERCES
           
 
Fields inherited from class org.enhydra.apache.xerces.parsers.DOMParser
fUseEntityResolver2, SYMBOL_TABLE, USE_ENTITY_RESOLVER2, XMLGRAMMAR_POOL
 
Fields inherited from class org.enhydra.apache.xerces.parsers.AbstractDOMParser
abort, CORE_DOCUMENT_CLASS_NAME, CREATE_CDATA_NODES_FEATURE, CREATE_ENTITY_REF_NODES, CURRENT_ELEMENT_NODE, DEFAULT_DOCUMENT_CLASS_NAME, DEFER_NODE_EXPANSION, DOCUMENT_CLASS_NAME, fBaseURIStack, fCreateCDATANodes, fCreateEntityRefNodes, fCurrentCDATASection, fCurrentCDATASectionIndex, fCurrentEntityDecl, fCurrentNode, fCurrentNodeIndex, fDeferNodeExpansion, fDeferredDocumentImpl, fDeferredEntityDecl, fDocument, fDocumentClassName, fDocumentImpl, fDocumentIndex, fDocumentType, fDocumentTypeIndex, fDOMFilter, fErrorHandler, fFilterReject, fFirstChunk, fInCDATASection, fIncludeComments, fIncludeIgnorableWhitespace, fInDTD, fInDTDExternalSubset, fInEntityRef, fInternalSubset, fNamespaceAware, fRejectedElement, fRoot, fSkippedElemStack, fStorePSVI, fStringBuffer, INCLUDE_COMMENTS_FEATURE, INCLUDE_IGNORABLE_WHITESPACE, NAMESPACES, PSVI_DOCUMENT_CLASS_NAME
 
Fields inherited from class org.enhydra.apache.xerces.parsers.AbstractXMLDocumentParser
fDocumentSource, fDTDContentModelSource, fDTDSource
 
Fields inherited from class org.enhydra.apache.xerces.parsers.XMLParser
ENTITY_RESOLVER, ERROR_HANDLER, fConfiguration
 
Fields inherited from interface org.enhydra.apache.xerces.xni.XMLDTDHandler
CONDITIONAL_IGNORE, CONDITIONAL_INCLUDE
 
Fields inherited from interface org.enhydra.apache.xerces.xni.XMLDTDContentModelHandler
OCCURS_ONE_OR_MORE, OCCURS_ZERO_OR_MORE, OCCURS_ZERO_OR_ONE, SEPARATOR_CHOICE, SEPARATOR_SEQUENCE
 
Constructor Summary
(package private) DOMParser.XercesParser()
          Construct a parser.
 
Method Summary
 void parse(InputSource inputSource)
          Parse the document, possibly resolving it via the entity resolver.
 
Methods inherited from class org.enhydra.apache.xerces.parsers.DOMParser
, getEntityResolver, getErrorHandler, getFeature, getProperty, getXMLParserConfiguration, parse, setEntityResolver, setErrorHandler, setFeature, setProperty
 
Methods inherited from class org.enhydra.apache.xerces.parsers.AbstractDOMParser
abort, attributeDecl, characters, comment, createAttrNode, createElementNode, doctypeDecl, dropDocumentReferences, elementDecl, emptyElement, endAttlist, endCDATA, endConditional, endDocument, endDTD, endElement, endExternalSubset, endGeneralEntity, endParameterEntity, externalEntityDecl, getDocument, getDocumentClassName, handleBaseURI, handleBaseURI, ignorableWhitespace, ignoredCharacters, internalEntityDecl, notationDecl, processingInstruction, reset, setCharacterData, setDocumentClassName, setLocale, startAttlist, startCDATA, startConditional, startDocument, startDTD, startElement, startExternalSubset, startGeneralEntity, startParameterEntity, textDecl, unparsedEntityDecl, xmlDecl
 
Methods inherited from class org.enhydra.apache.xerces.parsers.AbstractXMLDocumentParser
any, element, empty, endContentModel, endGroup, getDocumentSource, getDTDContentModelSource, getDTDSource, occurrence, pcdata, separator, setDocumentSource, setDTDContentModelSource, setDTDSource, startContentModel, startGroup
 
Methods inherited from class org.enhydra.apache.xerces.parsers.XMLParser
parse
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_DOCUMENT_CLASS_NAME_XERCES

static final String DEFAULT_DOCUMENT_CLASS_NAME_XERCES
Constructor Detail

DOMParser.XercesParser

DOMParser.XercesParser()
                 throws SAXException
Construct a parser.
Method Detail

parse

public void parse(InputSource inputSource)
           throws SAXException,
                  IOException
Parse the document, possibly resolving it via the entity resolver.
Overrides:
parse in class org.enhydra.apache.xerces.parsers.DOMParser


Copyright © 1999-2002 enhydra.org (Mark Diekhans, David Li, Richard Kunze). All Rights reserved.