📄 saxitexthandler.html
字号:
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" title="class in com.lowagie.text">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><HR><A NAME="topMargin"><!-- --></A><H3>topMargin</H3><PRE>float <B>topMargin</B></PRE><DL><DD>current margin of a page.<P><DL></DL></DL><HR><A NAME="rightMargin"><!-- --></A><H3>rightMargin</H3><PRE>float <B>rightMargin</B></PRE><DL><DD>current margin of a page.<P><DL></DL></DL><HR><A NAME="leftMargin"><!-- --></A><H3>leftMargin</H3><PRE>float <B>leftMargin</B></PRE><DL><DD>current margin of a page.<P><DL></DL></DL><HR><A NAME="bottomMargin"><!-- --></A><H3>bottomMargin</H3><PRE>float <B>bottomMargin</B></PRE><DL><DD>current margin of a page.<P><DL></DL></DL><HR><A NAME="myTags"><!-- --></A><H3>myTags</H3><PRE>protected <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/HashMap.html?is-external=true" title="class or interface in java.util">HashMap</A> <B>myTags</B></PRE><DL><DD>This hashmap contains all the custom keys and peers.<P><DL></DL></DL><HR><A NAME="bf"><!-- --></A><H3>bf</H3><PRE>private <A HREF="../../../../com/lowagie/text/pdf/BaseFont.html" title="class in com.lowagie.text.pdf">BaseFont</A> <B>bf</B></PRE><DL><DL></DL></DL><!-- ========= CONSTRUCTOR DETAIL ======== --><A NAME="constructor_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"><B>Constructor Detail</B></FONT></TH></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" title="interface in com.lowagie.text">DocListener</A> document)</PRE><DL><DL><DT><B>Parameters:</B><DD><CODE>document</CODE> - </DL></DL><HR><A NAME="SAXiTextHandler(com.lowagie.text.DocListener, com.lowagie.text.html.HtmlTagMap)"><!-- --></A><H3>SAXiTextHandler</H3><PRE>public <B>SAXiTextHandler</B>(<A HREF="../../../../com/lowagie/text/DocListener.html" title="interface in com.lowagie.text">DocListener</A> document, <A HREF="../../../../com/lowagie/text/html/HtmlTagMap.html" title="class in com.lowagie.text.html">HtmlTagMap</A> myTags)</PRE><DL><DL><DT><B>Parameters:</B><DD><CODE>document</CODE> - <DD><CODE>myTags</CODE> - </DL></DL><HR><A NAME="SAXiTextHandler(com.lowagie.text.DocListener, com.lowagie.text.html.HtmlTagMap, com.lowagie.text.pdf.BaseFont)"><!-- --></A><H3>SAXiTextHandler</H3><PRE>public <B>SAXiTextHandler</B>(<A HREF="../../../../com/lowagie/text/DocListener.html" title="interface in com.lowagie.text">DocListener</A> document, <A HREF="../../../../com/lowagie/text/html/HtmlTagMap.html" title="class in com.lowagie.text.html">HtmlTagMap</A> myTags, <A HREF="../../../../com/lowagie/text/pdf/BaseFont.html" title="class in com.lowagie.text.pdf">BaseFont</A> bf)</PRE><DL><DL><DT><B>Parameters:</B><DD><CODE>document</CODE> - <DD><CODE>myTags</CODE> - <DD><CODE>bf</CODE> - </DL></DL><HR><A NAME="SAXiTextHandler(com.lowagie.text.DocListener, java.util.HashMap)"><!-- --></A><H3>SAXiTextHandler</H3><PRE>public <B>SAXiTextHandler</B>(<A HREF="../../../../com/lowagie/text/DocListener.html" title="interface in com.lowagie.text">DocListener</A> document, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/HashMap.html?is-external=true" title="class or interface in java.util">HashMap</A> myTags)</PRE><DL><DL><DT><B>Parameters:</B><DD><CODE>document</CODE> - <DD><CODE>myTags</CODE> - </DL></DL><!-- ============ METHOD DETAIL ========== --><A NAME="method_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"><B>Method Detail</B></FONT></TH></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 encountered 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.4/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> uri, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> lname, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> name, <A HREF="http://java.sun.com/j2se/1.4/docs/api/org/xml/sax/Attributes.html?is-external=true" title="class or interface in org.xml.sax">Attributes</A> attrs)</PRE><DL><DD>This method gets called when a start tag is encountered.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/org/xml/sax/ContentHandler.html?is-external=true#startElement(java.lang.String, java.lang.String, java.lang.String, org.xml.sax.Attributes)" title="class or interface in org.xml.sax">startElement</A></CODE> in interface <CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/org/xml/sax/ContentHandler.html?is-external=true" title="class or interface in org.xml.sax">ContentHandler</A></CODE><DT><B>Overrides:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/org/xml/sax/helpers/DefaultHandler.html?is-external=true#startElement(java.lang.String, java.lang.String, java.lang.String, org.xml.sax.Attributes)" title="class or interface in org.xml.sax.helpers">startElement</A></CODE> in class <CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/org/xml/sax/helpers/DefaultHandler.html?is-external=true" title="class or interface in org.xml.sax.helpers">DefaultHandler</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>uri</CODE> - the Uniform Resource Identifier<DD><CODE>lname</CODE> - the local name (without prefix), or the empty string if Namespace processing is not being performed.<DD><CODE>name</CODE> - the name of the tag that is encountered<DD><CODE>attrs</CODE> - the list of attributes</DL></DD></DL>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -