📄 parseradapter.html
字号:
<DT><B>Parameters:</B><DD><CODE>resolver</CODE> - The new content handler.<DT><B>Throws:</B><DD><CODE>java.lang.NullPointerException</CODE> - If the content handler parameter is null.<DT><B>See Also: </B><DD><A HREF="../../../../org/xml/sax/XMLReader.html#setEntityResolver(org.xml.sax.EntityResolver)"><CODE>XMLReader.setEntityResolver(org.xml.sax.EntityResolver)</CODE></A></DL></DD></DL><HR><A NAME="getContentHandler()"><!-- --></A><H3>getContentHandler</H3><PRE>public <A HREF="../../../../org/xml/sax/ContentHandler.html">ContentHandler</A> <B>getContentHandler</B>()</PRE><DL><DD>Return the current content handler.<DD><DL><DT><B>Specified by: </B><DD><CODE><A HREF="../../../../org/xml/sax/XMLReader.html#getContentHandler()">getContentHandler</A></CODE> in interface <CODE><A HREF="../../../../org/xml/sax/XMLReader.html">XMLReader</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>The current content handler, or null if none was supplied.<DT><B>See Also: </B><DD><A HREF="../../../../org/xml/sax/XMLReader.html#getEntityResolver()"><CODE>XMLReader.getEntityResolver()</CODE></A></DL></DD></DL><HR><A NAME="setErrorHandler(org.xml.sax.ErrorHandler)"><!-- --></A><H3>setErrorHandler</H3><PRE>public void <B>setErrorHandler</B>(<A HREF="../../../../org/xml/sax/ErrorHandler.html">ErrorHandler</A> handler)</PRE><DL><DD>Set the error handler.<DD><DL><DT><B>Specified by: </B><DD><CODE><A HREF="../../../../org/xml/sax/XMLReader.html#setErrorHandler(org.xml.sax.ErrorHandler)">setErrorHandler</A></CODE> in interface <CODE><A HREF="../../../../org/xml/sax/XMLReader.html">XMLReader</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>resolver</CODE> - The new error handler.<DT><B>Throws:</B><DD><CODE>java.lang.NullPointerException</CODE> - If the error handler parameter is null.<DT><B>See Also: </B><DD><A HREF="../../../../org/xml/sax/XMLReader.html#setEntityResolver(org.xml.sax.EntityResolver)"><CODE>XMLReader.setEntityResolver(org.xml.sax.EntityResolver)</CODE></A></DL></DD></DL><HR><A NAME="getErrorHandler()"><!-- --></A><H3>getErrorHandler</H3><PRE>public <A HREF="../../../../org/xml/sax/ErrorHandler.html">ErrorHandler</A> <B>getErrorHandler</B>()</PRE><DL><DD>Return the current error handler.<DD><DL><DT><B>Specified by: </B><DD><CODE><A HREF="../../../../org/xml/sax/XMLReader.html#getErrorHandler()">getErrorHandler</A></CODE> in interface <CODE><A HREF="../../../../org/xml/sax/XMLReader.html">XMLReader</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>The current error handler, or null if none was supplied.<DT><B>See Also: </B><DD><A HREF="../../../../org/xml/sax/XMLReader.html#getEntityResolver()"><CODE>XMLReader.getEntityResolver()</CODE></A></DL></DD></DL><HR><A NAME="parse(java.lang.String)"><!-- --></A><H3>parse</H3><PRE>public void <B>parse</B>(java.lang.String systemId) throws java.io.IOException, <A HREF="../../../../org/xml/sax/SAXException.html">SAXException</A></PRE><DL><DD>Parse an XML document.<DD><DL><DT><B>Specified by: </B><DD><CODE><A HREF="../../../../org/xml/sax/XMLReader.html#parse(java.lang.String)">parse</A></CODE> in interface <CODE><A HREF="../../../../org/xml/sax/XMLReader.html">XMLReader</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>systemId</CODE> - The absolute URL of the document.<DT><B>Throws:</B><DD><CODE>java.io.IOException</CODE> - If there is a problem reading the raw content of the document.<DD><CODE><A HREF="../../../../org/xml/sax/SAXException.html">SAXException</A></CODE> - If there is a problem processing the document.<DT><B>See Also: </B><DD><A HREF="../../../../org/xml/sax/helpers/ParserAdapter.html#parse(org.xml.sax.InputSource)"><CODE>parse(org.xml.sax.InputSource)</CODE></A>, <A HREF="../../../../org/xml/sax/Parser.html#parse(java.lang.String)"><CODE>Parser.parse(java.lang.String)</CODE></A></DL></DD></DL><HR><A NAME="parse(org.xml.sax.InputSource)"><!-- --></A><H3>parse</H3><PRE>public void <B>parse</B>(<A HREF="../../../../org/xml/sax/InputSource.html">InputSource</A> input) throws java.io.IOException, <A HREF="../../../../org/xml/sax/SAXException.html">SAXException</A></PRE><DL><DD>Parse an XML document.<DD><DL><DT><B>Specified by: </B><DD><CODE><A HREF="../../../../org/xml/sax/XMLReader.html#parse(org.xml.sax.InputSource)">parse</A></CODE> in interface <CODE><A HREF="../../../../org/xml/sax/XMLReader.html">XMLReader</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>input</CODE> - An input source for the document.<DT><B>Throws:</B><DD><CODE>java.io.IOException</CODE> - If there is a problem reading the raw content of the document.<DD><CODE><A HREF="../../../../org/xml/sax/SAXException.html">SAXException</A></CODE> - If there is a problem processing the document.<DT><B>See Also: </B><DD><A HREF="../../../../org/xml/sax/helpers/ParserAdapter.html#parse(java.lang.String)"><CODE>parse(java.lang.String)</CODE></A>, <A HREF="../../../../org/xml/sax/Parser.html#parse(org.xml.sax.InputSource)"><CODE>Parser.parse(org.xml.sax.InputSource)</CODE></A></DL></DD></DL><HR><A NAME="setDocumentLocator(org.xml.sax.Locator)"><!-- --></A><H3>setDocumentLocator</H3><PRE>public void <B>setDocumentLocator</B>(<A HREF="../../../../org/xml/sax/Locator.html">Locator</A> locator)</PRE><DL><DD>Adapt a SAX1 document locator event.<DD><DL><DT><B>Specified by: </B><DD><CODE><A HREF="../../../../org/xml/sax/DocumentHandler.html#setDocumentLocator(org.xml.sax.Locator)">setDocumentLocator</A></CODE> in interface <CODE><A HREF="../../../../org/xml/sax/DocumentHandler.html">DocumentHandler</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>locator</CODE> - A document locator.<DT><B>See Also: </B><DD><A HREF="../../../../org/xml/sax/ContentHandler.html#setDocumentLocator(org.xml.sax.Locator)"><CODE>ContentHandler.setDocumentLocator(org.xml.sax.Locator)</CODE></A></DL></DD></DL><HR><A NAME="startDocument()"><!-- --></A><H3>startDocument</H3><PRE>public void <B>startDocument</B>() throws <A HREF="../../../../org/xml/sax/SAXException.html">SAXException</A></PRE><DL><DD>Adapt a SAX1 start document event.<DD><DL><DT><B>Specified by: </B><DD><CODE><A HREF="../../../../org/xml/sax/DocumentHandler.html#startDocument()">startDocument</A></CODE> in interface <CODE><A HREF="../../../../org/xml/sax/DocumentHandler.html">DocumentHandler</A></CODE></DL></DD><DD><DL><DT><B>Throws:</B><DD><CODE><A HREF="../../../../org/xml/sax/SAXException.html">SAXException</A></CODE> - The client may raise a processing exception.<DT><B>See Also: </B><DD><A HREF="../../../../org/xml/sax/DocumentHandler.html#startDocument()"><CODE>DocumentHandler.startDocument()</CODE></A></DL></DD></DL><HR><A NAME="endDocument()"><!-- --></A><H3>endDocument</H3><PRE>public void <B>endDocument</B>() throws <A HREF="../../../../org/xml/sax/SAXException.html">SAXException</A></PRE><DL><DD>Adapt a SAX1 end document event.<DD><DL><DT><B>Specified by: </B><DD><CODE><A HREF="../../../../org/xml/sax/DocumentHandler.html#endDocument()">endDocument</A></CODE> in interface <CODE><A HREF="../../../../org/xml/sax/DocumentHandler.html">DocumentHandler</A></CODE></DL></DD><DD><DL><DT><B>Throws:</B><DD><CODE><A HREF="../../../../org/xml/sax/SAXException.html">SAXException</A></CODE> - The client may raise a processing exception.<DT><B>See Also: </B><DD><A HREF="../../../../org/xml/sax/DocumentHandler.html#endDocument()"><CODE>DocumentHandler.endDocument()</CODE></A></DL></DD></DL><HR><A NAME="startElement(java.lang.String, org.xml.sax.AttributeList)"><!-- --></A><H3>startElement</H3><PRE>public void <B>startElement</B>(java.lang.String qName, <A HREF="../../../../org/xml/sax/AttributeList.html">AttributeList</A> qAtts) throws <A HREF="../../../../org/xml/sax/SAXException.html">SAXException</A></PRE><DL><DD>Adapt a SAX1 startElement event. <p>If necessary, perform Namespace processing.</p><DD><DL><DT><B>Specified by: </B><DD><CODE><A HREF="../../../../org/xml/sax/DocumentHandler.html#startElement(java.lang.String, org.xml.sax.AttributeList)">startElement</A></CODE> in interface <CODE><A HREF="../../../../org/xml/sax/DocumentHandler.html">DocumentHandler</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>qName</CODE> - The qualified (prefixed) name.<DD><CODE>qAtts</CODE> - The XML 1.0 attribute list (with qnames).</DL></DD></DL><HR><A NAME="endElement(java.lang.String)"><!-- --></A><H3>endElement</H3><PRE>public void <B>endElement</B>(java.lang.String qName) throws <A HREF="../../../../org/xml/sax/SAXException.html">SAXException</A></PRE><DL><DD>Adapt a SAX1 end element event.<DD><DL><DT><B>Specified by: </B><DD><CODE><A HREF="../../../../org/xml/sax/DocumentHandler.html#endElement(java.lang.String)">endElement</A></CODE> in interface <CODE><A HREF="../../../../org/xml/sax/DocumentHandler.html">DocumentHandler</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>qName</CODE> - The qualified (prefixed) name.<DT><B>Throws:</B><DD><CODE><A HREF="../../../../org/xml/sax/SAXException.html">SAXException</A></CODE> - The client may raise a processing exception.<DT><B>See Also: </B><DD><A HREF="../../../../org/xml/sax/DocumentHandler.html#endElement(java.lang.String)"><CODE>DocumentHandler.endElement(java.lang.String)</CODE></A></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) throws <A HREF="../../../../org/xml/sax/SAXException.html">SAXException</A></PRE><DL><DD>Adapt a SAX1 characters event.<DD><DL><DT><B>Specified by: </B><DD><CODE><A HREF="../../../../org/xml/sax/DocumentHandler.html#characters(char[], int, int)">characters</A></CODE> in interface <CODE><A HREF="../../../../org/xml/sax/DocumentHandler.html">DocumentHandler</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>ch</CODE> - An array of characters.<DD><CODE>start</CODE> - The starting position in the array.<DD><CODE>length</CODE> - The number of characters to use.<DT><B>Throws:</B><DD><CODE><A HREF="../../../../org/xml/sax/SAXException.html">SAXException</A></CODE> - The client may raise a processing exception.<DT><B>See Also: </B><DD><A HREF="../../../../org/xml/sax/DocumentHandler.html#characters(char[], int, int)"><CODE>DocumentHandler.characters(char[], int, int)</CODE></A></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) throws <A HREF="../../../../org/xml/sax/SAXException.html">SAXException</A></PRE><DL><DD>Adapt a SAX1 ignorable whitespace event.<DD><DL><DT><B>Specified by: </B><DD><CODE><A HREF="../../../../org/xml/sax/DocumentHandler.html#ignorableWhitespace(char[], int, int)">ignorableWhitespace</A></CODE> in interface <CODE><A HREF="../../../../org/xml/sax/DocumentHandler.html">DocumentHandler</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>ch</CODE> - An array of characters.<DD><CODE>start</CODE> - The starting position in the array.<DD><CODE>length</CODE> - The number of characters to use.<DT><B>Throws:</B><DD><CODE><A HREF="../../../../org/xml/sax/SAXException.html">SAXException</A></CODE> - The client may raise a processing exception.<DT><B>See Also: </B><DD><A HREF="../../../../org/xml/sax/DocumentHandler.html#ignorableWhitespace(char[], int, int)"><CODE>DocumentHandler.ignorableWhitespace(char[], int, int)</CODE></A></DL></DD></DL><HR><A NAME="processingInstruction(java.lang.String, java.lang.String)"><!-- --></A><H3>processingInstruction</H3><PRE>public void <B>processingInstruction</B>(java.lang.String target, java.lang.String data) throws <A HREF="../../../../org/xml/sax/SAXException.html">SAXException</A></PRE><DL><DD>Adapt a SAX1 processing instruction event.<DD><DL><DT><B>Specified by: </B><DD><CODE><A HREF="../../../../org/xml/sax/DocumentHandler.html#processingInstruction(java.lang.String, java.lang.String)">processingInstruction</A></CODE> in interface <CODE><A HREF="../../../../org/xml/sax/DocumentHandler.html">DocumentHandler</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>target</CODE> - The processing instruction target.<DD><CODE>data</CODE> - The remainder of the processing instruction<DT><B>Throws:</B><DD><CODE><A HREF="../../../../org/xml/sax/SAXException.html">SAXException</A></CODE> - The client may raise a processing exception.<DT><B>See Also: </B><DD><A HREF="../../../../org/xml/sax/DocumentHandler.html#processingInstruction(java.lang.String, java.lang.String)"><CODE>DocumentHandler.processingInstruction(java.lang.String, java.lang.String)</CODE></A></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/ParserAdapter.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-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"> <A HREF="../../../../org/xml/sax/helpers/NamespaceSupport.html"><B>PREV CLASS</B></A> <A HREF="../../../../org/xml/sax/helpers/ParserFactory.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="ParserAdapter.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY: INNER | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: FIELD | <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 + -