Save This Page
Home » Xerces-J-src.2.9.1 » org.apache.xerces » jaxp » [javadoc | source]
org.apache.xerces.jaxp
public static class: SAXParserImpl.JAXPSAXParser [javadoc | source]
java.lang.Object
   org.apache.xerces.parsers.XMLParser
      org.apache.xerces.parsers.AbstractXMLDocumentParser
         org.apache.xerces.parsers.AbstractSAXParser
            org.apache.xerces.parsers.SAXParser
               org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser

All Implemented Interfaces:
    Parser, PSVIProvider, XMLReader, XMLDocumentHandler, XMLDTDContentModelHandler, XMLDTDHandler

Extension of SAXParser. This class tracks changes to features and properties to allow the parser to be reset to its initial state.
Fields inherited from org.apache.xerces.parsers.SAXParser:
NOTIFY_BUILTIN_REFS,  SYMBOL_TABLE,  XMLGRAMMAR_POOL
Fields inherited from org.apache.xerces.parsers.AbstractSAXParser:
NAMESPACES,  STRING_INTERNING,  ALLOW_UE_AND_NOTATION_EVENTS,  LEXICAL_HANDLER,  DECLARATION_HANDLER,  DOM_NODE,  fNamespaces,  fNamespacePrefixes,  fLexicalHandlerParameterEntities,  fStandalone,  fResolveDTDURIs,  fUseEntityResolver2,  fXMLNSURIs,  fContentHandler,  fDocumentHandler,  fNamespaceContext,  fDTDHandler,  fDeclHandler,  fLexicalHandler,  fQName,  fParseInProgress,  fVersion,  fDeclaredAttrs
Fields inherited from org.apache.xerces.parsers.AbstractXMLDocumentParser:
fInDTD,  fDocumentSource,  fDTDSource,  fDTDContentModelSource
Fields inherited from org.apache.xerces.parsers.XMLParser:
ENTITY_RESOLVER,  ERROR_HANDLER,  fConfiguration
Constructor:
 public JAXPSAXParser() 
 JAXPSAXParser(SAXParserImpl saxParser) 
Method from org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser Summary:
getFeature,   getFeature0,   getProperty,   getProperty0,   getXMLParserConfiguration,   parse,   parse,   restoreInitState,   setFeature,   setFeature0,   setProperty,   setProperty0
Methods from org.apache.xerces.parsers.AbstractSAXParser:
attributeDecl,   characters,   comment,   doctypeDecl,   elementDecl,   endCDATA,   endDTD,   endDocument,   endElement,   endExternalSubset,   endGeneralEntity,   endNamespaceMapping,   endParameterEntity,   externalEntityDecl,   getAttributePSVI,   getAttributePSVIByName,   getContentHandler,   getDTDHandler,   getDeclHandler,   getElementPSVI,   getEntityResolver,   getErrorHandler,   getFeature,   getLexicalHandler,   getProperty,   ignorableWhitespace,   internalEntityDecl,   notationDecl,   parse,   parse,   processingInstruction,   reset,   setContentHandler,   setDTDHandler,   setDeclHandler,   setDocumentHandler,   setEntityResolver,   setErrorHandler,   setFeature,   setLexicalHandler,   setLocale,   setProperty,   startCDATA,   startDocument,   startElement,   startExternalSubset,   startGeneralEntity,   startNamespaceMapping,   startParameterEntity,   unparsedEntityDecl,   xmlDecl
Methods from org.apache.xerces.parsers.AbstractXMLDocumentParser:
any,   attributeDecl,   characters,   comment,   doctypeDecl,   element,   elementDecl,   empty,   emptyElement,   endAttlist,   endCDATA,   endConditional,   endContentModel,   endDTD,   endDocument,   endElement,   endExternalSubset,   endGeneralEntity,   endGroup,   endParameterEntity,   externalEntityDecl,   getDTDContentModelSource,   getDTDSource,   getDocumentSource,   ignorableWhitespace,   ignoredCharacters,   internalEntityDecl,   notationDecl,   occurrence,   pcdata,   processingInstruction,   reset,   separator,   setDTDContentModelSource,   setDTDSource,   setDocumentSource,   startAttlist,   startCDATA,   startConditional,   startContentModel,   startDTD,   startDocument,   startElement,   startExternalSubset,   startGeneralEntity,   startGroup,   startParameterEntity,   textDecl,   unparsedEntityDecl,   xmlDecl
Methods from org.apache.xerces.parsers.XMLParser:
parse,   reset
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser Detail:
 public synchronized boolean getFeature(String name) throws SAXNotSupportedException, SAXNotRecognizedException 
 boolean getFeature0(String name) throws SAXNotSupportedException, SAXNotRecognizedException 
 public synchronized Object getProperty(String name) throws SAXNotSupportedException, SAXNotRecognizedException 
 Object getProperty0(String name) throws SAXNotSupportedException, SAXNotRecognizedException 
 XMLParserConfiguration getXMLParserConfiguration() 
 public  void parse(InputSource inputSource) throws IOException, SAXException 
 public  void parse(String systemId) throws IOException, SAXException 
 synchronized  void restoreInitState() throws SAXNotSupportedException, SAXNotRecognizedException 
 public synchronized  void setFeature(String name,
    boolean value) throws SAXNotSupportedException, SAXNotRecognizedException 
    Override SAXParser's setFeature method to track the initial state of features. This keeps us from affecting the performance of the SAXParser when it is created with XMLReaderFactory.
  void setFeature0(String name,
    boolean value) throws SAXNotSupportedException, SAXNotRecognizedException 
 public synchronized  void setProperty(String name,
    Object value) throws SAXNotSupportedException, SAXNotRecognizedException 
    Override SAXParser's setProperty method to track the initial state of properties. This keeps us from affecting the performance of the SAXParser when it is created with XMLReaderFactory.
  void setProperty0(String name,
    Object value) throws SAXNotSupportedException, SAXNotRecognizedException