org.enhydra.xml.xmlc.html.parsers.swing
Class ParserAdaptor.DocumentParserBase

java.lang.Object
  |
  +--javax.swing.text.html.parser.Parser
        |
        +--javax.swing.text.html.parser.DocumentParser
              |
              +--org.enhydra.xml.xmlc.html.parsers.swing.ParserAdaptor.DocumentParserBase
All Implemented Interfaces:
DTDConstants
Direct Known Subclasses:
ParserAdaptor.DocumentParser11
Enclosing class:
ParserAdaptor

class ParserAdaptor.DocumentParserBase
extends DocumentParser

Base for all DocumentParser adaptors.


Field Summary
protected  HTMLEditorKit.ParserCallback fCallback
          saved callback pointer
 
Fields inherited from class javax.swing.text.html.parser.Parser
dtd, strict
 
Fields inherited from interface javax.swing.text.html.parser.DTDConstants
ANY, CDATA, CONREF, CURRENT, DEFAULT, EMPTY, ENDTAG, ENTITIES, ENTITY, FIXED, GENERAL, ID, IDREF, IDREFS, IMPLIED, MD, MODEL, MS, NAME, NAMES, NMTOKEN, NMTOKENS, NOTATION, NUMBER, NUMBERS, NUTOKEN, NUTOKENS, PARAMETER, PI, PUBLIC, RCDATA, REQUIRED, SDATA, STARTTAG, SYSTEM
 
Constructor Summary
ParserAdaptor.DocumentParserBase(DTD dtd)
          Constructor.
 
Method Summary
 void parse(Reader in, HTMLEditorKit.ParserCallback callback, boolean ignoreCharSet)
          Override parse to get callback pointer.
 
Methods inherited from class javax.swing.text.html.parser.DocumentParser
handleComment, handleEmptyTag, handleEndTag, handleError, handleStartTag, handleText
 
Methods inherited from class javax.swing.text.html.parser.Parser
addString, endTag, error, error, error, error, errorContext, flushAttributes, getAttributes, getBlockStartPosition, getChars, getChars, getCurrentLine, getCurrentPos, getEndOfLineString, getString, handleEOFInComment, handleText, handleTitle, ignoreElement, legalElementContext, legalTagContext, makeTag, makeTag, markFirstTime, parse, parseAttributeSpecificationList, parseAttributeValue, parseComment, parseContent, parseDTDMarkup, parseIdentifier, parseInvalidTag, parseLiteral, parseMarkupDeclarations, parseTag, resetStrBuffer, skipSpace, startTag, strIndexOf
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

fCallback

protected HTMLEditorKit.ParserCallback fCallback
saved callback pointer
Constructor Detail

ParserAdaptor.DocumentParserBase

public ParserAdaptor.DocumentParserBase(DTD dtd)
Constructor.
Method Detail

parse

public void parse(Reader in,
                  HTMLEditorKit.ParserCallback callback,
                  boolean ignoreCharSet)
           throws IOException
Override parse to get callback pointer.
Overrides:
parse in class DocumentParser


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