Class InfosetCoercingHtmlParser

java.lang.Object
nu.validator.htmlparser.sax.HtmlParser
nu.validator.htmlparser.sax.InfosetCoercingHtmlParser
All Implemented Interfaces:
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 Details

    • InfosetCoercingHtmlParser

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