org.enhydra.xml.xmlc.html.parsers.swing
Class ParserAdaptor.DocumentParser11
java.lang.Object
|
+--javax.swing.text.html.parser.Parser
|
+--javax.swing.text.html.parser.DocumentParser
|
+--org.enhydra.xml.xmlc.html.parsers.swing.ParserAdaptor.DocumentParserBase
|
+--org.enhydra.xml.xmlc.html.parsers.swing.ParserAdaptor.DocumentParser11
- All Implemented Interfaces:
- DTDConstants
- Enclosing class:
- ParserAdaptor
- class ParserAdaptor.DocumentParser11
- extends ParserAdaptor.DocumentParserBase
DocumentParser for 1.1 that allows LINKs in headers.
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 |
Methods inherited from class javax.swing.text.html.parser.Parser |
endTag, error, error, error, error, flushAttributes, getAttributes, getCurrentLine, getCurrentPos, handleEOFInComment, handleTitle, makeTag, makeTag, markFirstTime, parse, parseDTDMarkup, parseMarkupDeclarations, startTag |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
fCallback
protected HTMLEditorKit.ParserCallback fCallback
- saved callback pointer
ParserAdaptor.DocumentParser11
public ParserAdaptor.DocumentParser11(DTD dtd)
- Constructor.
handleEmptyTag
protected void handleEmptyTag(TagElement tag)
throws ChangedCharSetException
- override handleEmptyTag to allow links in headers.
- Overrides:
handleEmptyTag
in class DocumentParser
ChangedCharSetException
parse
public void parse(Reader in,
HTMLEditorKit.ParserCallback callback,
boolean ignoreCharSet)
throws IOException
- Override parse to get callback pointer.
- Overrides:
parse
in class DocumentParser
IOException
Copyright © 1999-2002 enhydra.org (Mark Diekhans, David Li, Richard Kunze). All Rights reserved.