📄 parser.html
字号:
<HR><A NAME="handleComment(char[])"><!-- --></A><H3>handleComment</H3><PRE>protected void <B>handleComment</B>(char[] text)</PRE><DL><DD>Called when an HTML comment is encountered.<DD><DL></DL></DD></DL><HR><A NAME="handleEOFInComment()"><!-- --></A><H3>handleEOFInComment</H3><PRE>protected void <B>handleEOFInComment</B>()</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="handleEmptyTag(javax.swing.text.html.parser.TagElement)"><!-- --></A><H3>handleEmptyTag</H3><PRE>protected void <B>handleEmptyTag</B>(<A HREF="../../../../../javax/swing/text/html/parser/TagElement.html">TagElement</A> tag) throws <A HREF="../../../../../javax/swing/text/ChangedCharSetException.html">ChangedCharSetException</A></PRE><DL><DD>Called when an empty tag is encountered.<DD><DL></DL></DD></DL><HR><A NAME="handleStartTag(javax.swing.text.html.parser.TagElement)"><!-- --></A><H3>handleStartTag</H3><PRE>protected void <B>handleStartTag</B>(<A HREF="../../../../../javax/swing/text/html/parser/TagElement.html">TagElement</A> tag)</PRE><DL><DD>Called when a start tag is encountered.<DD><DL></DL></DD></DL><HR><A NAME="handleEndTag(javax.swing.text.html.parser.TagElement)"><!-- --></A><H3>handleEndTag</H3><PRE>protected void <B>handleEndTag</B>(<A HREF="../../../../../javax/swing/text/html/parser/TagElement.html">TagElement</A> tag)</PRE><DL><DD>Called when an end tag is encountered.<DD><DL></DL></DD></DL><HR><A NAME="handleError(int, java.lang.String)"><!-- --></A><H3>handleError</H3><PRE>protected void <B>handleError</B>(int ln, <A HREF="../../../../../java/lang/String.html">String</A> msg)</PRE><DL><DD>An error has occurred.<DD><DL></DL></DD></DL><HR><A NAME="error(java.lang.String, java.lang.String, java.lang.String, java.lang.String)"><!-- --></A><H3>error</H3><PRE>protected void <B>error</B>(<A HREF="../../../../../java/lang/String.html">String</A> err, <A HREF="../../../../../java/lang/String.html">String</A> arg1, <A HREF="../../../../../java/lang/String.html">String</A> arg2, <A HREF="../../../../../java/lang/String.html">String</A> arg3)</PRE><DL><DD>Invoke the error handler.<DD><DL></DL></DD></DL><HR><A NAME="error(java.lang.String, java.lang.String, java.lang.String)"><!-- --></A><H3>error</H3><PRE>protected void <B>error</B>(<A HREF="../../../../../java/lang/String.html">String</A> err, <A HREF="../../../../../java/lang/String.html">String</A> arg1, <A HREF="../../../../../java/lang/String.html">String</A> arg2)</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="error(java.lang.String, java.lang.String)"><!-- --></A><H3>error</H3><PRE>protected void <B>error</B>(<A HREF="../../../../../java/lang/String.html">String</A> err, <A HREF="../../../../../java/lang/String.html">String</A> arg1)</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="error(java.lang.String)"><!-- --></A><H3>error</H3><PRE>protected void <B>error</B>(<A HREF="../../../../../java/lang/String.html">String</A> err)</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="startTag(javax.swing.text.html.parser.TagElement)"><!-- --></A><H3>startTag</H3><PRE>protected void <B>startTag</B>(<A HREF="../../../../../javax/swing/text/html/parser/TagElement.html">TagElement</A> tag) throws <A HREF="../../../../../javax/swing/text/ChangedCharSetException.html">ChangedCharSetException</A></PRE><DL><DD>Handle a start tag. The new tag is pushed onto the tag stack. The attribute list is checked for required attributes.<DD><DL></DL></DD></DL><HR><A NAME="endTag(boolean)"><!-- --></A><H3>endTag</H3><PRE>protected void <B>endTag</B>(boolean omitted)</PRE><DL><DD>Handle an end tag. The end tag is popped from the tag stack.<DD><DL></DL></DD></DL><HR><A NAME="markFirstTime(javax.swing.text.html.parser.Element)"><!-- --></A><H3>markFirstTime</H3><PRE>protected void <B>markFirstTime</B>(<A HREF="../../../../../javax/swing/text/html/parser/Element.html">Element</A> elem)</PRE><DL><DD>Marks the first time a tag has been seen in a document<DD><DL></DL></DD></DL><HR><A NAME="parseDTDMarkup()"><!-- --></A><H3>parseDTDMarkup</H3><PRE>public <A HREF="../../../../../java/lang/String.html">String</A> <B>parseDTDMarkup</B>() throws <A HREF="../../../../../java/io/IOException.html">IOException</A></PRE><DL><DD>Parses th Document Declaration Type markup declaration. Currently ignores it.<DD><DL></DL></DD></DL><HR><A NAME="parseMarkupDeclarations(java.lang.StringBuffer)"><!-- --></A><H3>parseMarkupDeclarations</H3><PRE>protected boolean <B>parseMarkupDeclarations</B>(<A HREF="../../../../../java/lang/StringBuffer.html">StringBuffer</A> strBuff) throws <A HREF="../../../../../java/io/IOException.html">IOException</A></PRE><DL><DD>Parse markup declarations. Currently only handles the Document Type Declaration markup. Returns true if it is a markup declaration false otherwise.<DD><DL></DL></DD></DL><HR><A NAME="parse(java.io.Reader)"><!-- --></A><H3>parse</H3><PRE>public void <B>parse</B>(<A HREF="../../../../../java/io/Reader.html">Reader</A> in) throws <A HREF="../../../../../java/io/IOException.html">IOException</A></PRE><DL><DD>Parse an HTML stream, given a DTD.<DD><DL></DL></DD></DL><HR><A NAME="getCurrentPos()"><!-- --></A><H3>getCurrentPos</H3><PRE>protected int <B>getCurrentPos</B>()</PRE><DL><DD><DL></DL></DD></DL><!-- ========= END OF CLASS DATA ========= --><HR><!-- ========== START OF NAVBAR ========== --><A NAME="navbar_bottom"><!-- --></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0"><TR><TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_bottom_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3"> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/Parser.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM><b>Java<sup><font size=-2>TM</font></sup> 2 Platform<br>Std. Ed. v1.3</b></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../../javax/swing/text/html/parser/Entity.html"><B>PREV CLASS</B></A> <A HREF="../../../../../javax/swing/text/html/parser/ParserDelegator.html"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../../index.html" TARGET="_top"><B>FRAMES</B></A> <A HREF="Parser.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY: INNER | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><!-- =========== END OF NAVBAR =========== --><HR><font size="-1"><a href="http://java.sun.com/cgi-bin/bugreport.cgi">Submit a bug or feature</a><br>For further API reference and developer documentation, see <a href="http://java.sun.com/products/jdk/1.3/devdocs-vs-specs.html">Java 2 SDK SE Developer Documentation</a>. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples. <p>Java, Java 2D, and JDBC are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries.<br>Copyright 1993-2000 Sun Microsystems, Inc. 901 San Antonio Road<br>Palo Alto, California, 94303, U.S.A. All Rights Reserved.</font></BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -