📄 xmlparser.html
字号:
<BR> Parses a given file that validates with the iText DTD and writes the content to a document.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/lowagie/text/xml/XmlParser.html#parse(com.lowagie.text.DocListener, java.io.InputStream)">parse</A></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/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</A> is)</CODE><BR> Parses a given file that validates with the iText DTD and writes the content to a document.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/lowagie/text/xml/XmlParser.html#parse(com.lowagie.text.DocListener, java.io.InputStream, java.util.HashMap)">parse</A></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/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</A> is, <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> tagmap)</CODE><BR> Parses a given file and writes the content to a document, using a certain tagmap.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/lowagie/text/xml/XmlParser.html#parse(com.lowagie.text.DocListener, java.io.InputStream, java.lang.String)">parse</A></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/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</A> is, <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> tagmap)</CODE><BR> Parses a given file that validates with the iText DTD and writes the content to a document.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/lowagie/text/xml/XmlParser.html#parse(com.lowagie.text.DocListener, java.io.Reader)">parse</A></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/io/Reader.html?is-external=true" title="class or interface in java.io">Reader</A> is)</CODE><BR> Parses a given file that validates with the iText DTD and writes the content to a document.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/lowagie/text/xml/XmlParser.html#parse(com.lowagie.text.DocListener, java.io.Reader, java.util.HashMap)">parse</A></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/io/Reader.html?is-external=true" title="class or interface in java.io">Reader</A> is, <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> tagmap)</CODE><BR> Parses a given file and writes the content to a document, using a certain tagmap.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/lowagie/text/xml/XmlParser.html#parse(com.lowagie.text.DocListener, java.io.Reader, java.lang.String)">parse</A></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/io/Reader.html?is-external=true" title="class or interface in java.io">Reader</A> is, <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> tagmap)</CODE><BR> Parses a given file that validates with the iText DTD and writes the content to a document.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/lowagie/text/xml/XmlParser.html#parse(com.lowagie.text.DocListener, java.lang.String)">parse</A></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/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> file)</CODE><BR> Parses a given file that validates with the iText DTD and writes the content to a document.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/lowagie/text/xml/XmlParser.html#parse(com.lowagie.text.DocListener, java.lang.String, java.util.HashMap)">parse</A></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/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> file, <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> tagmap)</CODE><BR> Parses a given file and writes the content to a document, using a certain tagmap.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/lowagie/text/xml/XmlParser.html#parse(com.lowagie.text.DocListener, java.lang.String, java.lang.String)">parse</A></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/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> file, <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> tagmap)</CODE><BR> Parses a given file that validates with the iText DTD and writes the content to a document.</TD></TR></TABLE> <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></B></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html?is-external=true#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD></TR></TABLE> <P><!-- ============ FIELD DETAIL =========== --><A NAME="field_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>Field Detail</B></FONT></TH></TR></TABLE><A NAME="parser"><!-- --></A><H3>parser</H3><PRE>protected <A HREF="http://java.sun.com/j2se/1.4/docs/api/javax/xml/parsers/SAXParser.html?is-external=true" title="class or interface in javax.xml.parsers">SAXParser</A> <B>parser</B></PRE><DL><DD>This is the instance of the parser.<P><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="XmlParser()"><!-- --></A><H3>XmlParser</H3><PRE>public <B>XmlParser</B>()</PRE><DL><DD>Constructs an XmlParser.<P></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="go(com.lowagie.text.DocListener, org.xml.sax.InputSource)"><!-- --></A><H3>go</H3><PRE>public void <B>go</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/org/xml/sax/InputSource.html?is-external=true" title="class or interface in org.xml.sax">InputSource</A> is)</PRE><DL><DD>Parses a given file.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>document</CODE> - The document that will listen to the parser<DD><CODE>is</CODE> - The InputStream with the contents</DL></DD></DL><HR><A NAME="go(com.lowagie.text.DocListener, org.xml.sax.InputSource, java.lang.String)"><!-- --></A><H3>go</H3><PRE>public void <B>go</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/org/xml/sax/InputSource.html?is-external=true" title="class or interface in org.xml.sax">InputSource</A> is, <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> tagmap)</PRE><DL><DD>Parses a given file.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>document</CODE> - The document that will listen to the parser<DD><CODE>is</CODE> - The inputsource with the content<DD><CODE>tagmap</CODE> - A user defined tagmap</DL></DD></DL><HR><A NAME="go(com.lowagie.text.DocListener, org.xml.sax.InputSource, java.io.InputStream)"><!-- --></A><H3>go</H3><PRE>public void <B>go</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/org/xml/sax/InputSource.html?is-external=true" title="class or interface in org.xml.sax">InputSource</A> is, <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> tagmap)</PRE><DL><DD>Parses a given file.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>document</CODE> - The document that will listen to the parser<DD><CODE>is</CODE> - the inputsource with the content<DD><CODE>tagmap</CODE> - an inputstream to a user defined tagmap</DL></DD></DL><HR><A NAME="go(com.lowagie.text.DocListener, org.xml.sax.InputSource, java.util.HashMap)"><!-- --></A><H3>go</H3><PRE>public void <B>go</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/org/xml/sax/InputSource.html?is-external=true" title="class or interface in org.xml.sax">InputSource</A> is, <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> tagmap)</PRE><DL><DD>Parses a given file.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>document</CODE> - The document that will listen to the parser<DD><CODE>is</CODE> - the inputsource with the content<DD><CODE>tagmap</CODE> - a user defined tagmap</DL></DD></DL><HR><A NAME="go(com.lowagie.text.DocListener, java.lang.String)"><!-- --></A><H3>go</H3><PRE>public void <B>go</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/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> file)</PRE><DL><DD>Parses a given file.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>document</CODE> - The document that will listen to the parser<DD><CODE>file</CODE> - The path to a file with the content</DL></DD></DL><HR><A NAME="go(com.lowagie.text.DocListener, java.lang.String, java.lang.String)"><!-- --></A><H3>go</H3><PRE>public void <B>go</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/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> file, <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> tagmap)</PRE><DL><DD>Parses a given file.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>document</CODE> - the document that will listen to the parser<DD><CODE>file</CODE> - the path to a file with the content<DD><CODE>tagmap</CODE> - a user defined tagmap</DL></DD></DL><HR><A NAME="go(com.lowagie.text.DocListener, java.lang.String, java.util.HashMap)"><!-- --></A><H3>go</H3><PRE>public void <B>go</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/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> file, <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> tagmap)</PRE><DL>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -