⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 simplebookmark.html

📁 IText PDF开发工具说明文档,使用很方便。
💻 HTML
📖 第 1 页 / 共 4 页
字号:
</DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>list</CODE> - the bookmarks<DD><CODE>out</CODE> - the export destination. The stream is not closed<DD><CODE>encoding</CODE> - the encoding according to IANA conventions<DD><CODE>onlyASCII</CODE> - codes above 127 will always be escaped with &amp;#nn; if <CODE>true</CODE>, whatever the encoding<DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE> - on error</DL></DD></DL><HR><A NAME="exportToXML(java.util.List, java.io.Writer, java.lang.String, boolean)"><!-- --></A><H3>exportToXML</H3><PRE>public static void <B>exportToXML</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A>&nbsp;list,                               <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/Writer.html?is-external=true" title="class or interface in java.io">Writer</A>&nbsp;wrt,                               <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>&nbsp;encoding,                               boolean&nbsp;onlyASCII)                        throws <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></PRE><DL><DD>Exports the bookmarks to XML.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>list</CODE> - the bookmarks<DD><CODE>wrt</CODE> - the export destination. The writer is not closed<DD><CODE>encoding</CODE> - the encoding according to IANA conventions<DD><CODE>onlyASCII</CODE> - codes above 127 will always be escaped with &amp;#nn; if <CODE>true</CODE>, whatever the encoding<DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE> - on error</DL></DD></DL><HR><A NAME="importFromXML(java.io.InputStream)"><!-- --></A><H3>importFromXML</H3><PRE>public static <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A> <B>importFromXML</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</A>&nbsp;in)                          throws <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></PRE><DL><DD>Import the bookmarks from XML.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>in</CODE> - the XML source. The stream is not closed<DT><B>Returns:</B><DD>the bookmarks<DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE> - on error</DL></DD></DL><HR><A NAME="importFromXML(java.io.Reader)"><!-- --></A><H3>importFromXML</H3><PRE>public static <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A> <B>importFromXML</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/Reader.html?is-external=true" title="class or interface in java.io">Reader</A>&nbsp;in)                          throws <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></PRE><DL><DD>Import the bookmarks from XML.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>in</CODE> - the XML source. The reader is not closed<DT><B>Returns:</B><DD>the bookmarks<DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE> - on error</DL></DD></DL><HR><A NAME="endDocument()"><!-- --></A><H3>endDocument</H3><PRE>public void <B>endDocument</B>()</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../../com/lowagie/text/xml/simpleparser/SimpleXMLDocHandler.html#endDocument()">SimpleXMLDocHandler</A></CODE></B></DD><DD>Called after the document is parsed.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../com/lowagie/text/xml/simpleparser/SimpleXMLDocHandler.html#endDocument()">endDocument</A></CODE> in interface <CODE><A HREF="../../../../com/lowagie/text/xml/simpleparser/SimpleXMLDocHandler.html" title="interface in com.lowagie.text.xml.simpleparser">SimpleXMLDocHandler</A></CODE></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="endElement(java.lang.String)"><!-- --></A><H3>endElement</H3><PRE>public void <B>endElement</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>&nbsp;tag)</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../../com/lowagie/text/xml/simpleparser/SimpleXMLDocHandler.html#endElement(java.lang.String)">SimpleXMLDocHandler</A></CODE></B></DD><DD>Called when an end tag is found.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../com/lowagie/text/xml/simpleparser/SimpleXMLDocHandler.html#endElement(java.lang.String)">endElement</A></CODE> in interface <CODE><A HREF="../../../../com/lowagie/text/xml/simpleparser/SimpleXMLDocHandler.html" title="interface in com.lowagie.text.xml.simpleparser">SimpleXMLDocHandler</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>tag</CODE> - the tag name</DL></DD></DL><HR><A NAME="startDocument()"><!-- --></A><H3>startDocument</H3><PRE>public void <B>startDocument</B>()</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../../com/lowagie/text/xml/simpleparser/SimpleXMLDocHandler.html#startDocument()">SimpleXMLDocHandler</A></CODE></B></DD><DD>Called when the document starts to be parsed.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../com/lowagie/text/xml/simpleparser/SimpleXMLDocHandler.html#startDocument()">startDocument</A></CODE> in interface <CODE><A HREF="../../../../com/lowagie/text/xml/simpleparser/SimpleXMLDocHandler.html" title="interface in com.lowagie.text.xml.simpleparser">SimpleXMLDocHandler</A></CODE></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="startElement(java.lang.String, java.util.HashMap)"><!-- --></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>&nbsp;tag,                         <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>&nbsp;h)</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../../com/lowagie/text/xml/simpleparser/SimpleXMLDocHandler.html#startElement(java.lang.String, java.util.HashMap)">SimpleXMLDocHandler</A></CODE></B></DD><DD>Called when a start tag is found.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../com/lowagie/text/xml/simpleparser/SimpleXMLDocHandler.html#startElement(java.lang.String, java.util.HashMap)">startElement</A></CODE> in interface <CODE><A HREF="../../../../com/lowagie/text/xml/simpleparser/SimpleXMLDocHandler.html" title="interface in com.lowagie.text.xml.simpleparser">SimpleXMLDocHandler</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>tag</CODE> - the tag name<DD><CODE>h</CODE> - the tag's attributes</DL></DD></DL><HR><A NAME="text(java.lang.String)"><!-- --></A><H3>text</H3><PRE>public void <B>text</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>&nbsp;str)</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../../com/lowagie/text/xml/simpleparser/SimpleXMLDocHandler.html#text(java.lang.String)">SimpleXMLDocHandler</A></CODE></B></DD><DD>Called when a text element is found.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../com/lowagie/text/xml/simpleparser/SimpleXMLDocHandler.html#text(java.lang.String)">text</A></CODE> in interface <CODE><A HREF="../../../../com/lowagie/text/xml/simpleparser/SimpleXMLDocHandler.html" title="interface in com.lowagie.text.xml.simpleparser">SimpleXMLDocHandler</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>str</CODE> - the text element, probably a fragment.</DL></DD></DL><!-- ========= END OF CLASS DATA ========= --><HR><!-- ======= START OF BOTTOM NAVBAR ====== --><A NAME="navbar_bottom"><!-- --></A><A HREF="#skip-navbar_bottom" title="Skip navigation links"></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""><TR><TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_bottom_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">  <TR ALIGN="center" VALIGN="top">  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>  </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>Hosted by <a href="http://www.hostbasket.com/">Hostbasket</a></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">&nbsp;<A HREF="../../../../com/lowagie/text/pdf/ShadingColor.html" title="class in com.lowagie.text.pdf"><B>PREV CLASS</B></A>&nbsp;&nbsp;<A HREF="../../../../com/lowagie/text/pdf/SimpleNamedDestination.html" title="class in com.lowagie.text.pdf"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">  <A HREF="../../../../index.html?com/lowagie/text/pdf/SimpleBookmark.html" target="_top"><B>FRAMES</B></A>  &nbsp;&nbsp;<A HREF="SimpleBookmark.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;&nbsp;<SCRIPT type="text/javascript">  <!--  if(window==top) {    document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');  }  //--></SCRIPT><NOSCRIPT>  <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A></NOSCRIPT></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><A NAME="skip-navbar_bottom"></A><!-- ======== END OF BOTTOM NAVBAR ======= --><HR></BODY></HTML>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -