?? saxitexthandler.html
字號:
<DL>
<DD>This is the resulting document.
<P>
<DL>
</DL>
</DL>
<HR>
<A NAME="stack"><!-- --></A><H3>
stack</H3>
<PRE>
protected <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/util/Stack.html">Stack</A> <B>stack</B></PRE>
<DL>
<DD>This is a <CODE>Stack</CODE> of objects, waiting to be added to the document.
<P>
<DL>
</DL>
</DL>
<HR>
<A NAME="chapters"><!-- --></A><H3>
chapters</H3>
<PRE>
protected int <B>chapters</B></PRE>
<DL>
<DD>Counts the number of chapters in this document.
<P>
<DL>
</DL>
</DL>
<HR>
<A NAME="currentChunk"><!-- --></A><H3>
currentChunk</H3>
<PRE>
protected <A HREF="../../../../com/lowagie/text/Chunk.html">Chunk</A> <B>currentChunk</B></PRE>
<DL>
<DD>This is the current chunk to which characters can be added.
<P>
<DL>
</DL>
</DL>
<HR>
<A NAME="ignore"><!-- --></A><H3>
ignore</H3>
<PRE>
protected boolean <B>ignore</B></PRE>
<DL>
<DD>This is the current chunk to which characters can be added.
<P>
<DL>
</DL>
</DL>
<HR>
<A NAME="controlOpenClose"><!-- --></A><H3>
controlOpenClose</H3>
<PRE>
protected boolean <B>controlOpenClose</B></PRE>
<DL>
<DD>This is a flag that can be set, if you want to open and close the Document-object yourself.
<P>
<DL>
</DL>
</DL>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<A NAME="constructor_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Constructor Detail</B></FONT></TD>
</TR>
</TABLE>
<A NAME="SAXiTextHandler(com.lowagie.text.DocListener)"><!-- --></A><H3>
SAXiTextHandler</H3>
<PRE>
public <B>SAXiTextHandler</B>(<A HREF="../../../../com/lowagie/text/DocListener.html">DocListener</A> document)</PRE>
<DL>
<DD>Constructs a new SAXiTextHandler that will translate all the events triggered by the parser to actions on the <CODE>Document</CODE>-object.
<P>
<DT><B>Parameters:</B><DD><CODE>document</CODE> - this is the document on which events must be triggered</DL>
<!-- ============ METHOD DETAIL ========== -->
<A NAME="method_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Method Detail</B></FONT></TD>
</TR>
</TABLE>
<A NAME="setControlOpenClose(boolean)"><!-- --></A><H3>
setControlOpenClose</H3>
<PRE>
public void <B>setControlOpenClose</B>(boolean controlOpenClose)</PRE>
<DL>
<DD>Sets the parameter that allows you to enable/disable the control over the Document.open() and Document.close() method. <P> If you set this parameter to true (= default), the parser will open the Document object when the start-root-tag is encounterd and close it when the end-root-tag is met. If you set it to false, you have to open and close the Document object yourself.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>controlOpenClose</CODE> - set this to false if you plan to open/close the Document yourself</DL>
</DD>
</DL>
<HR>
<A NAME="startElement(java.lang.String, java.lang.String, java.lang.String, org.xml.sax.Attributes)"><!-- --></A><H3>
startElement</H3>
<PRE>
public void <B>startElement</B>(<A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html">String</A> uri, <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html">String</A> lname, <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html">String</A> name, org.xml.sax.Attributes attrs)</PRE>
<DL>
<DD>This method gets called when a start tag is encountered.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE>startElement</CODE> in interface <CODE>org.xml.sax.ContentHandler</CODE><DT><B>Overrides:</B><DD><CODE>startElement</CODE> in class <CODE>org.xml.sax.helpers.DefaultHandler</CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>name</CODE> - the name of the tag that is encountered<DD><CODE>attrs</CODE> - the list of attributes</DL>
</DD>
</DL>
<HR>
<A NAME="handleStartingTags(java.lang.String, java.util.Properties)"><!-- --></A><H3>
handleStartingTags</H3>
<PRE>
public void <B>handleStartingTags</B>(<A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html">String</A> name, <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/util/Properties.html">Properties</A> attributes)</PRE>
<DL>
<DD>This method deals with the starting tags.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>name</CODE> - the name of the tag<DD><CODE>attributes</CODE> - the list of attributes</DL>
</DD>
</DL>
<HR>
<A NAME="ignorableWhitespace(char[], int, int)"><!-- --></A><H3>
ignorableWhitespace</H3>
<PRE>
public void <B>ignorableWhitespace</B>(char[] ch, int start, int length)</PRE>
<DL>
<DD>This method gets called when ignorable white space encountered.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE>ignorableWhitespace</CODE> in interface <CODE>org.xml.sax.ContentHandler</CODE><DT><B>Overrides:</B><DD><CODE>ignorableWhitespace</CODE> in class <CODE>org.xml.sax.helpers.DefaultHandler</CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>ch</CODE> - an array of characters<DD><CODE>start</CODE> - the start position in the array<DD><CODE>length</CODE> - the number of characters to read from the array</DL>
</DD>
</DL>
<HR>
<A NAME="characters(char[], int, int)"><!-- --></A><H3>
characters</H3>
<PRE>
public void <B>characters</B>(char[] ch, int start, int length)</PRE>
<DL>
<DD>This method gets called when characters are encountered.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE>characters</CODE> in interface <CODE>org.xml.sax.ContentHandler</CODE><DT><B>Overrides:</B><DD><CODE>characters</CODE> in class <CODE>org.xml.sax.helpers.DefaultHandler</CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>ch</CODE> - an array of characters<DD><CODE>start</CODE> - the start position in the array<DD><CODE>length</CODE> - the number of characters to read from the array</DL>
</DD>
</DL>
<HR>
<A NAME="endElement(java.lang.String, java.lang.String, java.lang.String)"><!-- --></A><H3>
endElement</H3>
<PRE>
public void <B>endElement</B>(<A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html">String</A> uri, <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html">String</A> lname, <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html">String</A> name)</PRE>
<DL>
<DD>This method gets called when an end tag is encountered.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE>endElement</CODE> in interface <CODE>org.xml.sax.ContentHandler</CODE><DT><B>Overrides:</B><DD><CODE>endElement</CODE> in class <CODE>org.xml.sax.helpers.DefaultHandler</CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>name</CODE> - the name of the tag that ends</DL>
</DD>
</DL>
<HR>
<A NAME="handleEndingTags(java.lang.String)"><!-- --></A><H3>
handleEndingTags</H3>
<PRE>
public void <B>handleEndingTags</B>(<A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html">String</A> name)</PRE>
<DL>
<DD>This method deals with the starting tags.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>name</CODE> - the name of the tag</DL>
</DD>
</DL>
<HR>
<A NAME="isNewpage(java.lang.String)"><!-- --></A><H3>
isNewpage</H3>
<PRE>
private boolean <B>isNewpage</B>(<A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html">String</A> tag)</PRE>
<DL>
<DD>Checks if a certain tag corresponds with the newpage-tag.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>tag</CODE> - a presumed tagname<DT><B>Returns:</B><DD><CODE>true</CODE> or <CODE>false</CODE></DL>
</DD>
</DL>
<HR>
<A NAME="isNewline(java.lang.String)"><!-- --></A><H3>
isNewline</H3>
<PRE>
private boolean <B>isNewline</B>(<A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html">String</A> tag)</PRE>
<DL>
<DD>Checks if a certain tag corresponds with the newpage-tag.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>tag</CODE> - a presumed tagname<DT><B>Returns:</B><DD><CODE>true</CODE> or <CODE>false</CODE></DL>
</DD>
</DL>
<HR>
<A NAME="isDocumentRoot(java.lang.String)"><!-- --></A><H3>
isDocumentRoot</H3>
<PRE>
protected boolean <B>isDocumentRoot</B>(<A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html">String</A> tag)</PRE>
<DL>
<DD>Checks if a certain tag corresponds with the roottag.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>tag</CODE> - a presumed tagname<DT><B>Returns:</B><DD><CODE>true</CODE> if <VAR>tag</VAR> equals <CODE>itext</CODE>, <CODE>false</CODE> otherwise.</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=3 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="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-all.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>
</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
PREV CLASS
<A HREF="../../../../com/lowagie/text/xml/SAXmyHandler.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="SAXiTextHandler.html" TARGET="_top"><B>NO FRAMES</B></A>
<SCRIPT> <!-- if(window==top) { document.writeln('<A HREF="../../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>'); } //--></SCRIPT><NOSCRIPT><A HREF="../../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A></NOSCRIPT></FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY: NESTED | <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>
</BODY>
</HTML>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -