documentbuilderfactory.html
来自「j2ee api,很好的api。我这现在有」· HTML 代码 · 共 711 行 · 第 1/3 页
HTML
711 行
<DT><B>Parameters:</B><DD><CODE>expandEntityRef</CODE> - true if the parser produced will expand entity reference nodes; false otherwise.</DL></DD></DL><HR><A NAME="setIgnoringComments(boolean)"><!-- --></A><H3>setIgnoringComments</H3><PRE>public void <B>setIgnoringComments</B>(boolean ignoreComments)</PRE><DL><DD>Specifies that the parser produced by this code will ignore comments. By default the value of this is set to <code>false </code><P><DD><DL></DL></DD></DL><HR><A NAME="setCoalescing(boolean)"><!-- --></A><H3>setCoalescing</H3><PRE>public void <B>setCoalescing</B>(boolean coalescing)</PRE><DL><DD>Specifies that the parser produced by this code will convert CDATA nodes to Text nodes and append it to the adjacent (if any) text node. By default the value of this is set to <code>false</code><P><DD><DL><DT><B>Parameters:</B><DD><CODE>coalescing</CODE> - true if the parser produced will convert CDATA nodes to Text nodes and append it to the adjacent (if any) text node; 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.<P><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.<P><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="isIgnoringElementContentWhitespace()"><!-- --></A><H3>isIgnoringElementContentWhitespace</H3><PRE>public boolean <B>isIgnoringElementContentWhitespace</B>()</PRE><DL><DD>Indicates whether or not the factory is configured to produce parsers which ignore ignorable whitespace in element content.<P><DD><DL><DT><B>Returns:</B><DD>true if the factory is configured to produce parsers which ignore ignorable whitespace in element content; false otherwise.</DL></DD></DL><HR><A NAME="isExpandEntityReferences()"><!-- --></A><H3>isExpandEntityReferences</H3><PRE>public boolean <B>isExpandEntityReferences</B>()</PRE><DL><DD>Indicates whether or not the factory is configured to produce parsers which expand entity reference nodes.<P><DD><DL><DT><B>Returns:</B><DD>true if the factory is configured to produce parsers which expand entity reference nodes; false otherwise.</DL></DD></DL><HR><A NAME="isIgnoringComments()"><!-- --></A><H3>isIgnoringComments</H3><PRE>public boolean <B>isIgnoringComments</B>()</PRE><DL><DD>Indicates whether or not the factory is configured to produce parsers which ignores comments.<P><DD><DL><DT><B>Returns:</B><DD>true if the factory is configured to produce parsers which ignores comments; false otherwise.</DL></DD></DL><HR><A NAME="isCoalescing()"><!-- --></A><H3>isCoalescing</H3><PRE>public boolean <B>isCoalescing</B>()</PRE><DL><DD>Indicates whether or not the factory is configured to produce parsers which converts CDATA nodes to Text nodes and appends it to the adjacent (if any) Text node.<P><DD><DL><DT><B>Returns:</B><DD>true if the factory is configured to produce parsers which converts CDATA nodes to Text nodes and appends it to the adjacent (if any) Text node; false otherwise.</DL></DD></DL><HR><A NAME="setAttribute(java.lang.String, java.lang.Object)"><!-- --></A><H3>setAttribute</H3><PRE>public abstract void <B>setAttribute</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> name, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A> value) throws <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/IllegalArgumentException.html" title="class or interface in java.lang">IllegalArgumentException</A></PRE><DL><DD>Allows the user to set specific attributes on the underlying implementation.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>name</CODE> - The name of the attribute.<DD><CODE>value</CODE> - The value of the attribute.<DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/IllegalArgumentException.html" title="class or interface in java.lang">IllegalArgumentException</A></CODE> - thrown if the underlying implementation doesn't recognize the attribute.</DL></DD></DL><HR><A NAME="getAttribute(java.lang.String)"><!-- --></A><H3>getAttribute</H3><PRE>public abstract <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A> <B>getAttribute</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> name) throws <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/IllegalArgumentException.html" title="class or interface in java.lang">IllegalArgumentException</A></PRE><DL><DD>Allows the user to retrieve specific attributes on the underlying implementation.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>name</CODE> - The name of the attribute.<DT><B>Returns:</B><DD>value The value of the attribute.<DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/IllegalArgumentException.html" title="class or interface in java.lang">IllegalArgumentException</A></CODE> - thrown if the underlying implementation doesn't recognize the attribute.</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=3 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> </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="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><b>Java<sup><font size=-2>TM</font></sup> 2 Platform<br>Ent. Ed. v1.4</b></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../javax/xml/parsers/DocumentBuilder.html" title="class in javax.xml.parsers"><B>PREV CLASS</B></A> <A HREF="../../../javax/xml/parsers/SAXParser.html" title="class in javax.xml.parsers"><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="DocumentBuilderFactory.html" target="_top"><B>NO FRAMES</B></A> <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: NESTED | 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><A NAME="skip-navbar_bottom"></A><!-- ======== END OF BOTTOM NAVBAR ======= --><HR><font size="-1"><a href="http://java.sun.com/webapps/bugreport">Submit a bug or feature</a> <p>Copyright 2003 Sun Microsystems, Inc. All rights reserved.</font></BODY></HTML>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?