Package org.htmlunit.cyberneko.parsers
Class SAXParser
java.lang.Object
org.htmlunit.cyberneko.xerces.parsers.AbstractXMLDocumentParser
org.htmlunit.cyberneko.xerces.parsers.AbstractSAXParser
org.htmlunit.cyberneko.parsers.SAXParser
- All Implemented Interfaces:
XMLDocumentHandler,XMLReader
A SAX parser for HTML documents.
-
Field Summary
Fields inherited from class org.htmlunit.cyberneko.xerces.parsers.AbstractSAXParser
fLexicalHandlerParameterEntities, fNamespaceContext, fNamespacePrefixes, fNamespaces, fStandalone, fVersion, LEXICAL_HANDLER, NAMESPACESFields inherited from class org.htmlunit.cyberneko.xerces.parsers.AbstractXMLDocumentParser
ERROR_HANDLER, parserConfiguration_ -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor.SAXParser(HTMLElementsProvider htmlElementsProvider) Ctor using a customHTMLElementsProvider. -
Method Summary
Methods inherited from class org.htmlunit.cyberneko.xerces.parsers.AbstractSAXParser
characters, comment, doctypeDecl, endCDATA, endDocument, endElement, endNamespaceMapping, getContentHandler, getDTDHandler, getEntityResolver, getErrorHandler, getFeature, getLexicalHandler, getProperty, parse, parse, processingInstruction, reset, setContentHandler, setDTDHandler, setEntityResolver, setErrorHandler, setFeature, setLexicalHandler, setProperty, startCDATA, startDocument, startElement, startNamespaceMapping, xmlDeclMethods inherited from class org.htmlunit.cyberneko.xerces.parsers.AbstractXMLDocumentParser
emptyElement, getDocumentSource, parse, setDocumentSource
-
Constructor Details
-
SAXParser
public SAXParser()Default constructor. -
SAXParser
Ctor using a customHTMLElementsProvider.- Parameters:
htmlElementsProvider- the customHTMLElementsProvider
-