Method Summary |
|
protected void | endTag(boolean omitted) Calls method that reports that a closing tag has been found. |
protected void | error(String err) Reports an error message with only one information field. |
protected void | error(String err, String arg1) |
protected void | error(String err, String arg1, String arg2) |
protected void | error(String err, String arg1, String arg2, String arg3) |
protected void | flushAttributes() Cleans the information stored in the attribute's stack. |
protected SimpleAttributeSet | getAttributes() Returns the attributes stored in the attribute's stack. |
protected int | getCurrentLine() Reports the line number where the parser is scanning the parsed file. |
protected int | getCurrentPos() Reports the current position that is being parsed on the document. |
String | getEOLString() |
protected void | handleComment(char[] text) This method is called when a comment is found in the parsed file. |
protected void | handleEOFInComment() This method is called when the end of the parsed file is found inside
a comment. |
protected void | handleEmptyTag(TagElement tag) This method is called when a simple or empty tag is found in the parsed
file. |
protected void | handleEndTag(TagElement tag) This method is called when a closing tag is found in the parsed file. |
protected void | handleError(int ln, String msg) This method is called when an error is found in the parsed file. |
protected void | handleStartTag(TagElement tag) This method is called when an opening tag, that is not simple or empty,
is found in the parsed file. |
protected void | handleText(char[] text) This method is called when a piece of text is found in the parsed file. |
protected void | handleTitle(char[] text) This method is called when a title is found in the parsed file. |
protected TagElement | makeTag(Element elem) Construct a new
TagElement with the information stored into a
Element .
Parameters: elem - the Element that constains the information. |
protected TagElement | makeTag(Element elem, boolean fictional) Construct a new
TagElement with the information stored into a
Element .
Parameters: elem - the Element that constains the information. Parameters: fictional - the value stored in the fictional field of theTagElement. |
protected void | markFirstTime(Element elem) It marks the first occurence of an element inside a document. |
public synchronized void | parse(Reader in) It parses a HTML document. |
public String | parseDTDMarkup() Obtains the information of the last parsed markup declaration in the
parsed file. |
protected boolean | parseMarkupDeclarations(StringBuffer strBuff) |
protected void | startTag(TagElement tag) |