xmleventfactory.html
来自「j2ee帮助文档软件设计/软件工程 文件格式」· HTML 代码 · 共 961 行 · 第 1/5 页
HTML
961 行
<P><DD><DL><DT><B>Returns:</B><DD>a StartDocument event</DL></DD></DL><HR><A NAME="createStartDocument(java.lang.String, java.lang.String, boolean)"><!-- --></A><H3>createStartDocument</H3><PRE>public abstract <A HREF="../../../javax/xml/stream/events/StartDocument.html" title="interface in javax.xml.stream.events">StartDocument</A> <B>createStartDocument</B>(<A HREF="http://java.sun.com/j2se/1.5/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> encoding, <A HREF="http://java.sun.com/j2se/1.5/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> version, boolean standalone)</PRE><DL><DD>Creates a new instance of a StartDocument event<P><DD><DL><DT><B>Parameters:</B><DD><CODE>encoding</CODE> - the encoding style<DD><CODE>version</CODE> - the XML version<DD><CODE>standalone</CODE> - the status of standalone may be set to "true" or "false"<DT><B>Returns:</B><DD>a StartDocument event</DL></DD></DL><HR><A NAME="createStartDocument(java.lang.String, java.lang.String)"><!-- --></A><H3>createStartDocument</H3><PRE>public abstract <A HREF="../../../javax/xml/stream/events/StartDocument.html" title="interface in javax.xml.stream.events">StartDocument</A> <B>createStartDocument</B>(<A HREF="http://java.sun.com/j2se/1.5/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> encoding, <A HREF="http://java.sun.com/j2se/1.5/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> version)</PRE><DL><DD>Creates a new instance of a StartDocument event<P><DD><DL><DT><B>Parameters:</B><DD><CODE>encoding</CODE> - the encoding style<DD><CODE>version</CODE> - the XML version<DT><B>Returns:</B><DD>a StartDocument event</DL></DD></DL><HR><A NAME="createStartDocument(java.lang.String)"><!-- --></A><H3>createStartDocument</H3><PRE>public abstract <A HREF="../../../javax/xml/stream/events/StartDocument.html" title="interface in javax.xml.stream.events">StartDocument</A> <B>createStartDocument</B>(<A HREF="http://java.sun.com/j2se/1.5/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> encoding)</PRE><DL><DD>Creates a new instance of a StartDocument event<P><DD><DL><DT><B>Parameters:</B><DD><CODE>encoding</CODE> - the encoding style<DT><B>Returns:</B><DD>a StartDocument event</DL></DD></DL><HR><A NAME="createEndDocument()"><!-- --></A><H3>createEndDocument</H3><PRE>public abstract <A HREF="../../../javax/xml/stream/events/EndDocument.html" title="interface in javax.xml.stream.events">EndDocument</A> <B>createEndDocument</B>()</PRE><DL><DD>Creates a new instance of an EndDocument event<P><DD><DL><DT><B>Returns:</B><DD>an EndDocument event</DL></DD></DL><HR><A NAME="createEntityReference(java.lang.String, javax.xml.stream.events.EntityDeclaration)"><!-- --></A><H3>createEntityReference</H3><PRE>public abstract <A HREF="../../../javax/xml/stream/events/EntityReference.html" title="interface in javax.xml.stream.events">EntityReference</A> <B>createEntityReference</B>(<A HREF="http://java.sun.com/j2se/1.5/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> name, <A HREF="../../../javax/xml/stream/events/EntityDeclaration.html" title="interface in javax.xml.stream.events">EntityDeclaration</A> declaration)</PRE><DL><DD>Creates a new instance of a EntityReference event<P><DD><DL><DT><B>Parameters:</B><DD><CODE>name</CODE> - The name of the reference<DD><CODE>declaration</CODE> - the declaration for the event<DT><B>Returns:</B><DD>an EntityReference event</DL></DD></DL><HR><A NAME="createComment(java.lang.String)"><!-- --></A><H3>createComment</H3><PRE>public abstract <A HREF="../../../javax/xml/stream/events/Comment.html" title="interface in javax.xml.stream.events">Comment</A> <B>createComment</B>(<A HREF="http://java.sun.com/j2se/1.5/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> text)</PRE><DL><DD>Create a comment<P><DD><DL><DT><B>Parameters:</B><DD><CODE>text</CODE> - The text of the comment a Comment event</DL></DD></DL><HR><A NAME="createProcessingInstruction(java.lang.String, java.lang.String)"><!-- --></A><H3>createProcessingInstruction</H3><PRE>public abstract <A HREF="../../../javax/xml/stream/events/ProcessingInstruction.html" title="interface in javax.xml.stream.events">ProcessingInstruction</A> <B>createProcessingInstruction</B>(<A HREF="http://java.sun.com/j2se/1.5/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> target, <A HREF="http://java.sun.com/j2se/1.5/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> data)</PRE><DL><DD>Create a processing instruction<P><DD><DL><DT><B>Parameters:</B><DD><CODE>target</CODE> - The target of the processing instruction<DD><CODE>data</CODE> - The text of the processing instruction<DT><B>Returns:</B><DD>a ProcessingInstruction event</DL></DD></DL><HR><A NAME="createDTD(java.lang.String)"><!-- --></A><H3>createDTD</H3><PRE>public abstract <A HREF="../../../javax/xml/stream/events/DTD.html" title="interface in javax.xml.stream.events">DTD</A> <B>createDTD</B>(<A HREF="http://java.sun.com/j2se/1.5/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> dtd)</PRE><DL><DD>Create a document type definition event This string contains the entire document type declaration that matches the doctypedecl in the XML 1.0 specification<P><DD><DL><DT><B>Parameters:</B><DD><CODE>dtd</CODE> - the text of the document type definition<DT><B>Returns:</B><DD>a DTD event</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> </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></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../javax/xml/stream/StreamFilter.html" title="interface in javax.xml.stream"><B>PREV CLASS</B></A> <A HREF="../../../javax/xml/stream/XMLEventReader.html" title="interface in javax.xml.stream"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../index.html?javax/xml/stream/XMLEventFactory.html" target="_top"><B>FRAMES</B></A> <A HREF="XMLEventFactory.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 2007 Sun Microsystems, Inc. All rights reserved. Use is subject to <a href="../legal/license.html" target="_top">license terms.</a></font></BODY></HTML>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?