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

📄 saxparserfactory.html

📁 Jrat 的其中一个包
💻 HTML
📖 第 1 页 / 共 2 页
字号:
</TR></TABLE><A NAME="SAXParserFactory()"><!-- --></A><H3>SAXParserFactory</H3><PRE>protected <B>SAXParserFactory</B>()</PRE><DL></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="newInstance()"><!-- --></A><H3>newInstance</H3><PRE>public static <A HREF="../../../javax/xml/parsers/SAXParserFactory.html">SAXParserFactory</A> <B>newInstance</B>()                                    throws <A HREF="../../../javax/xml/parsers/FactoryConfigurationError.html">FactoryConfigurationError</A></PRE><DL><DD>Obtain a new instance of a <code>SAXParserFactory</code>. This static method creates a new factory instance This method uses the following ordered lookup procedure to determine the <code>SAXParserFactory</code> implementation class to load: <ul> <li> Use the <code>javax.xml.parsers.SAXParserFactory</code> system property. </li> <li> Use the properties file "lib/jaxp.properties" in the JRE directory. This configuration file is in standard <code>java.util.Properties </code> format and contains the fully qualified name of the implementation class with the key being the system property defined above. </li> <li> Use the Services API (as detailed in the JAR specification), if available, to determine the classname. The Services API will look for a classname in the file <code>META-INF/services/javax.xml.parsers.SAXParserFactory</code> in jars available to the runtime. </li> <li> Platform default <code>SAXParserFactory</code> instance. </li> </ul> Once an application has obtained a reference to a <code>SAXParserFactory</code> it can use the factory to configure and obtain parser instances.<DD><DL><DT><B>Returns:</B><DD>A new instance of a SAXParserFactory.<DT><B>Throws:</B><DD><CODE><A HREF="../../../javax/xml/parsers/FactoryConfigurationError.html">FactoryConfigurationError</A></CODE> - if the implementation is not available or cannot be instantiated.</DL></DD></DL><HR><A NAME="newSAXParser()"><!-- --></A><H3>newSAXParser</H3><PRE>public abstract <A HREF="../../../javax/xml/parsers/SAXParser.html">SAXParser</A> <B>newSAXParser</B>()                                throws <A HREF="../../../javax/xml/parsers/ParserConfigurationException.html">ParserConfigurationException</A>,                                       <A HREF="../../../org/xml/sax/SAXException.html">SAXException</A></PRE><DL><DD>Creates a new instance of a SAXParser using the currently configured factory parameters.<DD><DL><DT><B>Returns:</B><DD>A new instance of a SAXParser.<DT><B>Throws:</B><DD><CODE><A HREF="../../../javax/xml/parsers/ParserConfigurationException.html">ParserConfigurationException</A></CODE> - if a parser cannot be created which satisfies the requested configuration.</DL></DD></DL><HR><A NAME="setNamespaceAware(boolean)"><!-- --></A><H3>setNamespaceAware</H3><PRE>public void <B>setNamespaceAware</B>(boolean&nbsp;awareness)</PRE><DL><DD>Specifies that the parser produced by this code will provide support for XML namespaces. By default the value of this is set to <code>false</code>.<DD><DL><DT><B>Parameters:</B><DD><CODE>awareness</CODE> - true if the parser produced by this code will                  provide support for XML namespaces; false otherwise.</DL></DD></DL><HR><A NAME="setValidating(boolean)"><!-- --></A><H3>setValidating</H3><PRE>public void <B>setValidating</B>(boolean&nbsp;validating)</PRE><DL><DD>Specifies that the parser produced by this code will validate documents as they are parsed. By default the value of this is set to <code>false</code>.<DD><DL><DT><B>Parameters:</B><DD><CODE>validating</CODE> - true if the parser produced by this code will                   validate documents as they are parsed; false otherwise.</DL></DD></DL><HR><A NAME="isNamespaceAware()"><!-- --></A><H3>isNamespaceAware</H3><PRE>public boolean <B>isNamespaceAware</B>()</PRE><DL><DD>Indicates whether or not the factory is configured to produce parsers which are namespace aware.<DD><DL><DT><B>Returns:</B><DD>true if the factory is configured to produce         parsers which are namespace aware; false otherwise.</DL></DD></DL><HR><A NAME="isValidating()"><!-- --></A><H3>isValidating</H3><PRE>public boolean <B>isValidating</B>()</PRE><DL><DD>Indicates whether or not the factory is configured to produce parsers which validate the XML content during parse.<DD><DL><DT><B>Returns:</B><DD>true if the factory is configured to produce parsers which validate         the XML content during parse; false otherwise.</DL></DD></DL><HR><A NAME="setFeature(java.lang.String, boolean)"><!-- --></A><H3>setFeature</H3><PRE>public abstract void <B>setFeature</B>(java.lang.String&nbsp;name,                                boolean&nbsp;value)                         throws <A HREF="../../../javax/xml/parsers/ParserConfigurationException.html">ParserConfigurationException</A>,                                <A HREF="../../../org/xml/sax/SAXNotRecognizedException.html">SAXNotRecognizedException</A>,                                <A HREF="../../../org/xml/sax/SAXNotSupportedException.html">SAXNotSupportedException</A></PRE><DL><DD>Sets the particular feature in the underlying implementation of org.xml.sax.XMLReader. A list of the core features and properties can be found at <a href="http://www.megginson.com/SAX/Java/features.html"> http://www.megginson.com/SAX/Java/features.html </a><DD><DL><DT><B>Parameters:</B><DD><CODE>name</CODE> - The name of the feature to be set.<DD><CODE>value</CODE> - The value of the feature to be set.<DT><B>Throws:</B><DD><CODE><A HREF="../../../org/xml/sax/SAXNotRecognizedException.html">SAXNotRecognizedException</A></CODE> - When the underlying XMLReader does            not recognize the property name.<DD><CODE><A HREF="../../../org/xml/sax/SAXNotSupportedException.html">SAXNotSupportedException</A></CODE> - When the underlying XMLReader            recognizes the property name but doesn't support the            property.<DT><B>See Also: </B><DD><A HREF="../../../org/xml/sax/XMLReader.html#setFeature(java.lang.String, boolean)"><CODE>XMLReader.setFeature(java.lang.String, boolean)</CODE></A></DL></DD></DL><HR><A NAME="getFeature(java.lang.String)"><!-- --></A><H3>getFeature</H3><PRE>public abstract boolean <B>getFeature</B>(java.lang.String&nbsp;name)                            throws <A HREF="../../../javax/xml/parsers/ParserConfigurationException.html">ParserConfigurationException</A>,                                   <A HREF="../../../org/xml/sax/SAXNotRecognizedException.html">SAXNotRecognizedException</A>,                                   <A HREF="../../../org/xml/sax/SAXNotSupportedException.html">SAXNotSupportedException</A></PRE><DL><DD>Returns the particular property requested for in the underlying implementation of org.xml.sax.XMLReader.<DD><DL><DT><B>Parameters:</B><DD><CODE>name</CODE> - The name of the property to be retrieved.<DT><B>Returns:</B><DD>Value of the requested property.<DT><B>Throws:</B><DD><CODE><A HREF="../../../org/xml/sax/SAXNotRecognizedException.html">SAXNotRecognizedException</A></CODE> - When the underlying XMLReader does            not recognize the property name.<DD><CODE><A HREF="../../../org/xml/sax/SAXNotSupportedException.html">SAXNotSupportedException</A></CODE> - When the underlying XMLReader            recognizes the property name but doesn't support the            property.<DT><B>See Also: </B><DD><A HREF="../../../org/xml/sax/XMLReader.html#getProperty(java.lang.String)"><CODE>XMLReader.getProperty(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>&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="class-use/SAXParserFactory.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&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></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">&nbsp;<A HREF="../../../javax/xml/parsers/SAXParser.html"><B>PREV CLASS</B></A>&nbsp;&nbsp;NEXT CLASS</FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;&nbsp;<A HREF="SAXParserFactory.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">  SUMMARY: &nbsp;INNER&nbsp;|&nbsp;FIELD&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;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<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 + -