|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.swing.text.html.parser.Parser javax.swing.text.html.parser.DocumentParser org.paneris.bibliomania.util.FictionalNotifyingDocumentParser
public class FictionalNotifyingDocumentParser
An extended DocumentParser
.
Field Summary | |
---|---|
protected FictionalNotifiableParserCallback |
callback
|
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 | |
---|---|
FictionalNotifyingDocumentParser(javax.swing.text.html.parser.DTD dtd)
Constructor. |
Method Summary | |
---|---|
protected void |
handleEmptyTag(javax.swing.text.html.parser.TagElement tag)
|
protected void |
handleEndTag(javax.swing.text.html.parser.TagElement tag)
|
protected void |
handleStartTag(javax.swing.text.html.parser.TagElement tag)
|
void |
parse(java.io.Reader in,
FictionalNotifiableParserCallback callbackP,
boolean ignoreCharSet)
Parse the document. |
Methods inherited from class javax.swing.text.html.parser.DocumentParser |
---|
handleComment, handleError, handleText, parse |
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 |
Field Detail |
---|
protected FictionalNotifiableParserCallback callback
Constructor Detail |
---|
public FictionalNotifyingDocumentParser(javax.swing.text.html.parser.DTD dtd)
dtd
- the Document Type DefinitionMethod Detail |
---|
public void parse(java.io.Reader in, FictionalNotifiableParserCallback callbackP, boolean ignoreCharSet) throws java.io.IOException
in
- the Reader to read document fromcallbackP
- the callaback to callignoreCharSet
- whether to ignore the character set declaration
java.io.IOException
protected void handleEmptyTag(javax.swing.text.html.parser.TagElement tag) throws javax.swing.text.ChangedCharSetException
handleEmptyTag
in class javax.swing.text.html.parser.DocumentParser
javax.swing.text.ChangedCharSetException
protected void handleStartTag(javax.swing.text.html.parser.TagElement tag)
handleStartTag
in class javax.swing.text.html.parser.DocumentParser
protected void handleEndTag(javax.swing.text.html.parser.TagElement tag)
handleEndTag
in class javax.swing.text.html.parser.DocumentParser
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |