Package com.sun.java.help.impl
Class Parser
java.lang.Object
com.sun.java.help.impl.DocumentParser
com.sun.java.help.impl.Parser
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsFields inherited from class com.sun.java.help.impl.DocumentParser
source -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidprotected voidThis method inserts a comment It should be overridden by the subclassprotected voidThis method emits a doctype.protected StringdocumentAttribute(String name) This method looks up a &xxx; sequence in the document properties (this is used for templates).protected voidThis method inserts a parse error string into the document It should be overridden by the subclassprotected voidflush(char[] buf, int offset, int length) This method creates a block of text for a document.protected voidThis method emits a pi It should be overridden by the subclassvoidprotected voidtag(String name, TagProperties atts, boolean endTag, boolean emptyTag) This method emits a tag It should be overridden by the subclassMethods inherited from class com.sun.java.help.impl.DocumentParser
callFlush, commentEOFError, eofError, findCloseAngleForComment, generateError, getDocumentSource, handleCommentOrDoctype, initEntities, parse, parseEscape, parseTag, parseText, readChar, scanIdentifier, scanQuotedString, setInput, setInput, setShouldCacheSource, setXmlEntities, skipToCloseAngle, skipWhite
-
Field Details
-
listenerList
-
-
Constructor Details
-
Parser
-
Parser
-
-
Method Details
-
tag
Description copied from class:DocumentParserThis method emits a tag It should be overridden by the subclass- Specified by:
tagin classDocumentParser
-
pi
Description copied from class:DocumentParserThis method emits a pi It should be overridden by the subclass- Specified by:
piin classDocumentParser
-
doctype
Description copied from class:DocumentParserThis method emits a doctype. Internal subset information is discarded It should be overridden by the subclass- Specified by:
doctypein classDocumentParser
-
flush
protected void flush(char[] buf, int offset, int length) Description copied from class:DocumentParserThis method creates a block of text for a document. It should be overridden by the subclass- Specified by:
flushin classDocumentParser
-
comment
Description copied from class:DocumentParserThis method inserts a comment It should be overridden by the subclass- Specified by:
commentin classDocumentParser
-
errorString
Description copied from class:DocumentParserThis method inserts a parse error string into the document It should be overridden by the subclass- Specified by:
errorStringin classDocumentParser
-
documentAttribute
Description copied from class:DocumentParserThis method looks up a &xxx; sequence in the document properties (this is used for templates). A return of null means the proerty is undefined. It should be overridden by the subclass- Specified by:
documentAttributein classDocumentParser
-
addParserListener
-
removeParserListener
-