org.enhydra.xml.xmlc.html.parsers
Class HTMLParserBase

java.lang.Object
  |
  +--org.enhydra.xml.xmlc.html.parsers.HTMLParserBase
All Implemented Interfaces:
XMLCParser
Direct Known Subclasses:
SwingHTMLParser, TidyHTMLParser

public abstract class HTMLParserBase
extends Object
implements XMLCParser

Abstract class used to constructor XMLCParser objects for HTML. Methods in this class are the only ones that do DOM implementation- specific operations.


Constructor Summary
HTMLParserBase()
           
 
Method Summary
protected  void addPCDataContentElements(XMLCDocument xmlcDocument)
          Add elements that have #PCDATA as part of its content model to the XMLCDocument description.
protected  void handleParseErrors(ErrorReporter reporter)
          Generate error exception for parse errors.
protected  void validateConf(ParserType parserType, MetaData metaData)
          Common validation of configuration.
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.enhydra.xml.xmlc.parsers.XMLCParser
parse
 

Constructor Detail

HTMLParserBase

public HTMLParserBase()
Method Detail

validateConf

protected void validateConf(ParserType parserType,
                            MetaData metaData)
                     throws XMLCException
Common validation of configuration.

handleParseErrors

protected void handleParseErrors(ErrorReporter reporter)
                          throws XMLCException
Generate error exception for parse errors.

addPCDataContentElements

protected void addPCDataContentElements(XMLCDocument xmlcDocument)
Add elements that have #PCDATA as part of its content model to the XMLCDocument description.


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