nu.validator.htmlparser.sax
Class InfosetCoercingHtmlParser

java.lang.Object
  extended by nu.validator.htmlparser.sax.HtmlParser
      extended by nu.validator.htmlparser.sax.InfosetCoercingHtmlParser
All Implemented Interfaces:
org.xml.sax.XMLReader

public class InfosetCoercingHtmlParser
extends HtmlParser

This subclass of HtmlParser simply provides a no-argument constructor that calls the constructor of the superclass with the ALTER_INFOSET policy. This is convenient when another Java component wants an implementation of XMLReader with a no-argument constructor and infoset coercion is the wanted behavior.

Version:
$Id$
Author:
hsivonen

Constructor Summary
InfosetCoercingHtmlParser()
          A constructor that passes ALTER_INFOSET to the superclass' constructor.
 
Method Summary
 
Methods inherited from class nu.validator.htmlparser.sax.HtmlParser
addCharacterHandler, getBogusXmlnsPolicy, getCommentPolicy, getContentHandler, getContentNonXmlCharPolicy, getContentSpacePolicy, getDoctypeExpectation, getDocumentLocator, getDocumentModeHandler, getDTDHandler, getEntityResolver, getErrorHandler, getFeature, getHeuristics, getLexicalHandler, getNamePolicy, getProperty, getStreamabilityViolationPolicy, getXmlnsPolicy, isCheckingNormalization, isHtml4ModeCompatibleWithXhtml1Schemata, isMappingLangToXmlLang, isReportingDoctype, isScriptingEnabled, parse, parse, parseFragment, setBogusXmlnsPolicy, setCheckingNormalization, setCommentPolicy, setContentHandler, setContentNonXmlCharPolicy, setContentSpacePolicy, setDoctypeExpectation, setDocumentModeHandler, setDTDHandler, setEntityResolver, setErrorHandler, setErrorProfile, setFeature, setHeuristics, setHtml4ModeCompatibleWithXhtml1Schemata, setLexicalHandler, setMappingLangToXmlLang, setNamePolicy, setProperty, setReportingDoctype, setScriptingEnabled, setStreamabilityViolationPolicy, setTransitionHandler, setTreeBuilderErrorHandlerOverride, setXmlnsPolicy, setXmlPolicy
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InfosetCoercingHtmlParser

public InfosetCoercingHtmlParser()
A constructor that passes ALTER_INFOSET to the superclass' constructor.