📄 wbxmlwriter.html
字号:
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class java.io.Writer</B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE>write, write, write, write</CODE></TD></TR></TABLE> <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class java.lang.Object</B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD></TR></TABLE> <P><!-- ============ FIELD DETAIL =========== --><!-- ========= CONSTRUCTOR DETAIL ======== --><A NAME="constructor_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Constructor Detail</B></FONT></TD></TR></TABLE><A NAME="WbxmlWriter(java.io.OutputStream)"><!-- --></A><H3>WbxmlWriter</H3><PRE>public <B>WbxmlWriter</B>(java.io.OutputStream out) throws java.io.IOException</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="flush()"><!-- --></A><H3>flush</H3><PRE>public void <B>flush</B>()</PRE><DL><DD>ATTENTION: flush cannot work since Wbxml documents cannotneed buffering. Thus, this call does nothing.<DD><DL><DT><B>Overrides:</B><DD><CODE>flush</CODE> in class <CODE>java.io.Writer</CODE></DL></DD></DL><HR><A NAME="close()"><!-- --></A><H3>close</H3><PRE>public void <B>close</B>() throws java.io.IOException</PRE><DL><DD><DL><DT><B>Overrides:</B><DD><CODE>close</CODE> in class <CODE>java.io.Writer</CODE></DL></DD></DL><HR><A NAME="checkPending(boolean)"><!-- --></A><H3>checkPending</H3><PRE>public void <B>checkPending</B>(boolean degenerated) throws java.io.IOException</PRE><DL></DL><HR><A NAME="startTag(org.kxml.PrefixMap, java.lang.String)"><!-- --></A><H3>startTag</H3><PRE>public void <B>startTag</B>(<A HREF="../../../org/kxml/PrefixMap.html">PrefixMap</A> prefixMap, java.lang.String name) throws java.io.IOException</PRE><DL><DD><B>Description copied from class: <CODE><A HREF="../../../org/kxml/io/AbstractXmlWriter.html">AbstractXmlWriter</A></CODE></B></DD><DD>abstract method that must be overwritten bya method actually writing the resolved start tag without namespace checking. This implementationjust puts the state on the stack.<br /><br />Attention: The actual implementation include thefollowing line in order to put the current State on the stack!<br /><br />current = new State (current, prefixMap, tag);<DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../org/kxml/io/AbstractXmlWriter.html#startTag(org.kxml.PrefixMap, java.lang.String)">startTag</A></CODE> in class <CODE><A HREF="../../../org/kxml/io/AbstractXmlWriter.html">AbstractXmlWriter</A></CODE></DL></DD></DL><HR><A NAME="attribute(java.lang.String, java.lang.String)"><!-- --></A><H3>attribute</H3><PRE>public void <B>attribute</B>(java.lang.String name, java.lang.String value)</PRE><DL><DD><B>Description copied from class: <CODE><A HREF="../../../org/kxml/io/AbstractXmlWriter.html">AbstractXmlWriter</A></CODE></B></DD><DD>writes an attribute. Only allowed immediately afterstartTag or attribute.<DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../org/kxml/io/AbstractXmlWriter.html#attribute(java.lang.String, java.lang.String)">attribute</A></CODE> in class <CODE><A HREF="../../../org/kxml/io/AbstractXmlWriter.html">AbstractXmlWriter</A></CODE></DL></DD></DL><HR><A NAME="write(char[], int, int)"><!-- --></A><H3>write</H3><PRE>public void <B>write</B>(char[] chars, int start, int len) throws java.io.IOException</PRE><DL><DD><DL><DT><B>Overrides:</B><DD><CODE>write</CODE> in class <CODE>java.io.Writer</CODE></DL></DD></DL><HR><A NAME="endTag()"><!-- --></A><H3>endTag</H3><PRE>public void <B>endTag</B>() throws java.io.IOException</PRE><DL><DD><B>Description copied from class: <CODE><A HREF="../../../org/kxml/io/AbstractXmlWriter.html">AbstractXmlWriter</A></CODE></B></DD><DD>Abstract method for writing an end tag. <b>Attention:</b>Concrete implementations must pop the previous stack from thestack:<br /><br />current = current.prev;<DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../org/kxml/io/AbstractXmlWriter.html#endTag()">endTag</A></CODE> in class <CODE><A HREF="../../../org/kxml/io/AbstractXmlWriter.html">AbstractXmlWriter</A></CODE></DL></DD></DL><HR><A NAME="writeLegacy(int, java.lang.String)"><!-- --></A><H3>writeLegacy</H3><PRE>public void <B>writeLegacy</B>(int type, java.lang.String data)</PRE><DL><DD>currently ignored!<DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../org/kxml/io/AbstractXmlWriter.html#writeLegacy(int, java.lang.String)">writeLegacy</A></CODE> in class <CODE><A HREF="../../../org/kxml/io/AbstractXmlWriter.html">AbstractXmlWriter</A></CODE></DL></DD></DL><HR><A NAME="setTagTable(int, java.lang.String[])"><!-- --></A><H3>setTagTable</H3><PRE>public void <B>setTagTable</B>(int page, java.lang.String[] tagTable)</PRE><DL><DD>Sets the tag table for a given page. The first string in the array defines tag 5, the second tag 6 etc. Currently, only page 0 is supported</DL><HR><A NAME="setAttrStartTable(int, java.lang.String[])"><!-- --></A><H3>setAttrStartTable</H3><PRE>public void <B>setAttrStartTable</B>(int page, java.lang.String[] attrStartTable)</PRE><DL><DD>Sets the attribute start Table for a given page. The first string in the array defines attribute 5, the second attribute 6 etc. Currently, only page 0 is supported. Please use the character '=' (without quote!) as delimiter between the attribute name and the (start of the) value</DL><HR><A NAME="setAttrValueTable(int, java.lang.String[])"><!-- --></A><H3>setAttrValueTable</H3><PRE>public void <B>setAttrValueTable</B>(int page, java.lang.String[] attrValueTable)</PRE><DL><DD>Sets the attribute value Table for a given page. The first string in the array defines attribute value 0x85, the second attribute value 0x86 etc. Currently, only page 0 is supported.</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="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/kxml/wap/WbxmlParser.html"><B>PREV CLASS</B></A> <A HREF="../../../org/kxml/wap/Wml.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="WbxmlWriter.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY: INNER | <A HREF="#fields_inherited_from_class_org.kxml.io.AbstractXmlWriter">FIELD</A> | <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 + -