📄 abstractxmlreader.html
字号:
<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 =========== --><A NAME="field_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Field Detail</B></FONT></TD></TR></TABLE><A NAME="type"><!-- --></A><H3>type</H3><PRE>protected int <B>type</B></PRE><DL></DL><HR><A NAME="name"><!-- --></A><H3>name</H3><PRE>protected java.lang.String <B>name</B></PRE><DL></DL><HR><A NAME="namespace"><!-- --></A><H3>namespace</H3><PRE>protected java.lang.String <B>namespace</B></PRE><DL></DL><HR><A NAME="text"><!-- --></A><H3>text</H3><PRE>protected java.lang.String <B>text</B></PRE><DL></DL><HR><A NAME="attributes"><!-- --></A><H3>attributes</H3><PRE>protected <A HREF="../../../org/kxml/Attribute.html">Attribute</A>[] <B>attributes</B></PRE><DL></DL><HR><A NAME="attributeCount"><!-- --></A><H3>attributeCount</H3><PRE>protected int <B>attributeCount</B></PRE><DL></DL><HR><A NAME="degenerated"><!-- --></A><H3>degenerated</H3><PRE>protected boolean <B>degenerated</B></PRE><DL></DL><HR><A NAME="current"><!-- --></A><H3>current</H3><PRE>protected <A HREF="../../../org/kxml/io/State.html">State</A> <B>current</B></PRE><DL></DL><HR><A NAME="characterEntityTable"><!-- --></A><H3>characterEntityTable</H3><PRE>public java.util.Hashtable <B>characterEntityTable</B></PRE><DL></DL><HR><A NAME="processNamespaces"><!-- --></A><H3>processNamespaces</H3><PRE>public boolean <B>processNamespaces</B></PRE><DL></DL><HR><A NAME="relaxed"><!-- --></A><H3>relaxed</H3><PRE>public boolean <B>relaxed</B></PRE><DL></DL><!-- ========= 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="AbstractXmlReader()"><!-- --></A><H3>AbstractXmlReader</H3><PRE>public <B>AbstractXmlReader</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="adjustNamespace()"><!-- --></A><H3>adjustNamespace</H3><PRE>protected void <B>adjustNamespace</B>() throws java.io.IOException</PRE><DL></DL><HR><A NAME="getType()"><!-- --></A><H3>getType</H3><PRE>public int <B>getType</B>()</PRE><DL><DD>returns the event type integer constant assigned to thecurrent XML token. Possible type values are Xml.START_TAG,Xml.END_TAG, Xml.TEXT, Xml.PROCESSING_INSTRUCTION,Xml.COMMENT, Xml.DOCTYPE, and Xml.END_DOCUMENT</DL><HR><A NAME="getDegenerated()"><!-- --></A><H3>getDegenerated</H3><PRE>public boolean <B>getDegenerated</B>()</PRE><DL></DL><HR><A NAME="getName()"><!-- --></A><H3>getName</H3><PRE>public java.lang.String <B>getName</B>()</PRE><DL><DD>returns the (local) tag name of the element if the token typeis Xml.START_TAG or XML.END_TAG. For all other types, null isreturned</DL><HR><A NAME="getNamespace()"><!-- --></A><H3>getNamespace</H3><PRE>public java.lang.String <B>getNamespace</B>()</PRE><DL><DD>returns the namespace of the element if the token typeis Xml.START_TAG or XML.END_TAG. For all other types, null isreturned.</DL><HR><A NAME="getText()"><!-- --></A><H3>getText</H3><PRE>public java.lang.String <B>getText</B>()</PRE><DL><DD>If the event type is TEXT, PROCESSING_INSTRUCTION,or DOCTYPE, the corresponding string is returned. Forall othe event types, null is returned.</DL><HR><A NAME="getPrefixMap()"><!-- --></A><H3>getPrefixMap</H3><PRE>public <A HREF="../../../org/kxml/PrefixMap.html">PrefixMap</A> <B>getPrefixMap</B>()</PRE><DL></DL><HR><A NAME="getAttributeCount()"><!-- --></A><H3>getAttributeCount</H3><PRE>public int <B>getAttributeCount</B>()</PRE><DL></DL><HR><A NAME="getAttribute(int)"><!-- --></A><H3>getAttribute</H3><PRE>public <A HREF="../../../org/kxml/Attribute.html">Attribute</A> <B>getAttribute</B>(int i)</PRE><DL><DD>In the event type is START_TAG, this method returns theattribute at the given index position. For all other eventtypes, or if the index is out of range, anIndexOutOfBoundsException will be thrown.</DL><HR><A NAME="getAttribute(java.lang.String)"><!-- --></A><H3>getAttribute</H3><PRE>public <A HREF="../../../org/kxml/Attribute.html">Attribute</A> <B>getAttribute</B>(java.lang.String name)</PRE><DL><DD>returns the local attribute with the given name. conveniencemethod for getAttribute (Xml.NO_NAMESPACE, name);</DL><HR><A NAME="getAttribute(java.lang.String, java.lang.String)"><!-- --></A><H3>getAttribute</H3><PRE>public <A HREF="../../../org/kxml/Attribute.html">Attribute</A> <B>getAttribute</B>(java.lang.String namespace, java.lang.String name)</PRE><DL><DD>returns the local attribute with the given qualified name.Please use null as placeholder for any namespace orXml.NO_NAMESPACE for no namespace.</DL><HR><A NAME="getValue(java.lang.String)"><!-- --></A><H3>getValue</H3><PRE>public java.lang.String <B>getValue</B>(java.lang.String attrName)</PRE><DL><DD>Returns the value of the attribute with the given name.Throws an exception if not instanceof StartTag or if notexisting. In order to get a null value for not existingattributes, please call getValueDefault (attrName, null)instead.</DL><HR><A NAME="getValueDefault(java.lang.String, java.lang.String)"><!-- --></A><H3>getValueDefault</H3><PRE>public java.lang.String <B>getValueDefault</B>(java.lang.String attrName, java.lang.String deflt)</PRE><DL><DD>Returns the given attribute value, or the given default valueif the attribute is not existing.</DL><HR><A NAME="next()"><!-- --></A><H3>next</H3><PRE>public int <B>next</B>() throws java.io.IOException</PRE><DL><DD>advances to the next xml token. Returns the token type code<DD><DL><DT><B>Returns:</B><DD>the token type code.</DL></DD></DL><HR><A NAME="skip()"><!-- --></A><H3>skip</H3><PRE>public int <B>skip</B>() throws java.io.IOException</PRE><DL><DD>works like next, but skips over comments, processing instructions, whitespace and the doctype</DL><HR><A NAME="require(int, java.lang.String, java.lang.String)"><!-- --></A><H3>require</H3><PRE>public void <B>require</B>(int type, java.lang.String namespace, java.lang.String name) throws java.io.IOException</PRE><DL></DL><HR><A NAME="readText()"><!-- --></A><H3>readText</H3><PRE>public java.lang.String <B>readText</B>() throws java.io.IOException</PRE><DL></DL><HR><A NAME="nextImpl()"><!-- --></A><H3>nextImpl</H3><PRE>protected abstract void <B>nextImpl</B>() throws java.io.IOException</PRE><DL></DL><HR><A NAME="exception(java.lang.String)"><!-- --></A><H3>exception</H3><PRE>protected void <B>exception</B>(java.lang.String name) throws java.io.IOException</PRE><DL></DL><HR><A NAME="getLineNumber()"><!-- --></A><H3>getLineNumber</H3><PRE>public int <B>getLineNumber</B>()</PRE><DL></DL><HR><A NAME="getColumnNumber()"><!-- --></A><H3>getColumnNumber</H3><PRE>public int <B>getColumnNumber</B>()</PRE><DL></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"> PREV CLASS <A HREF="../../../org/kxml/io/AbstractXmlWriter.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="AbstractXmlReader.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY: INNER | <A HREF="#field_summary">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: <A HREF="#field_detail">FIELD</A> | <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 + -