📄 streamreaderdelegate.html
字号:
isCharacters</H3><PRE>public boolean <B>isCharacters</B>()</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../../javax/xml/stream/XMLStreamReader.html#isCharacters()">XMLStreamReader</A></CODE></B></DD><DD>Returns true if the cursor points to a character data event<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../javax/xml/stream/XMLStreamReader.html#isCharacters()">isCharacters</A></CODE> in interface <CODE><A HREF="../../../../javax/xml/stream/XMLStreamReader.html" title="interface in javax.xml.stream">XMLStreamReader</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>true if the cursor points to character data, false otherwise</DL></DD></DL><HR><A NAME="isWhiteSpace()"><!-- --></A><H3>isWhiteSpace</H3><PRE>public boolean <B>isWhiteSpace</B>()</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../../javax/xml/stream/XMLStreamReader.html#isWhiteSpace()">XMLStreamReader</A></CODE></B></DD><DD>Returns true if the cursor points to a character data event that consists of all whitespace<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../javax/xml/stream/XMLStreamReader.html#isWhiteSpace()">isWhiteSpace</A></CODE> in interface <CODE><A HREF="../../../../javax/xml/stream/XMLStreamReader.html" title="interface in javax.xml.stream">XMLStreamReader</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>true if the cursor points to all whitespace, false otherwise</DL></DD></DL><HR><A NAME="getAttributeValue(java.lang.String, java.lang.String)"><!-- --></A><H3>getAttributeValue</H3><PRE>public <A HREF="http://java.sun.com/j2se/1.5/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>getAttributeValue</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> namespaceUri, <A HREF="http://java.sun.com/j2se/1.5/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> localName)</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../../javax/xml/stream/XMLStreamReader.html#getAttributeValue(java.lang.String, java.lang.String)">XMLStreamReader</A></CODE></B></DD><DD>Returns the normalized attribute value of the attribute with the namespace and localName If the namespaceURI is null the namespace is not checked for equality<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../javax/xml/stream/XMLStreamReader.html#getAttributeValue(java.lang.String, java.lang.String)">getAttributeValue</A></CODE> in interface <CODE><A HREF="../../../../javax/xml/stream/XMLStreamReader.html" title="interface in javax.xml.stream">XMLStreamReader</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>namespaceUri</CODE> - the namespace of the attribute<DD><CODE>localName</CODE> - the local name of the attribute, cannot be null<DT><B>Returns:</B><DD>returns the value of the attribute , returns null if not found</DL></DD></DL><HR><A NAME="getAttributeCount()"><!-- --></A><H3>getAttributeCount</H3><PRE>public int <B>getAttributeCount</B>()</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../../javax/xml/stream/XMLStreamReader.html#getAttributeCount()">XMLStreamReader</A></CODE></B></DD><DD>Returns the count of attributes on this START_ELEMENT, this method is only valid on a START_ELEMENT or ATTRIBUTE. This count excludes namespace definitions. Attribute indices are zero-based.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../javax/xml/stream/XMLStreamReader.html#getAttributeCount()">getAttributeCount</A></CODE> in interface <CODE><A HREF="../../../../javax/xml/stream/XMLStreamReader.html" title="interface in javax.xml.stream">XMLStreamReader</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>returns the number of attributes</DL></DD></DL><HR><A NAME="getAttributeName(int)"><!-- --></A><H3>getAttributeName</H3><PRE>public <A HREF="http://java.sun.com/j2se/1.5/docs/api/javax/xml/namespace/QName.html" title="class or interface in javax.xml.namespace">QName</A> <B>getAttributeName</B>(int index)</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../../javax/xml/stream/XMLStreamReader.html#getAttributeName(int)">XMLStreamReader</A></CODE></B></DD><DD>Returns the qname of the attribute at the provided index<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../javax/xml/stream/XMLStreamReader.html#getAttributeName(int)">getAttributeName</A></CODE> in interface <CODE><A HREF="../../../../javax/xml/stream/XMLStreamReader.html" title="interface in javax.xml.stream">XMLStreamReader</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>index</CODE> - the position of the attribute<DT><B>Returns:</B><DD>the QName of the attribute</DL></DD></DL><HR><A NAME="getAttributePrefix(int)"><!-- --></A><H3>getAttributePrefix</H3><PRE>public <A HREF="http://java.sun.com/j2se/1.5/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>getAttributePrefix</B>(int index)</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../../javax/xml/stream/XMLStreamReader.html#getAttributePrefix(int)">XMLStreamReader</A></CODE></B></DD><DD>Returns the prefix of this attribute at the provided index<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../javax/xml/stream/XMLStreamReader.html#getAttributePrefix(int)">getAttributePrefix</A></CODE> in interface <CODE><A HREF="../../../../javax/xml/stream/XMLStreamReader.html" title="interface in javax.xml.stream">XMLStreamReader</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>index</CODE> - the position of the attribute<DT><B>Returns:</B><DD>the prefix of the attribute</DL></DD></DL><HR><A NAME="getAttributeNamespace(int)"><!-- --></A><H3>getAttributeNamespace</H3><PRE>public <A HREF="http://java.sun.com/j2se/1.5/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>getAttributeNamespace</B>(int index)</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../../javax/xml/stream/XMLStreamReader.html#getAttributeNamespace(int)">XMLStreamReader</A></CODE></B></DD><DD>Returns the namespace of the attribute at the provided index<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../javax/xml/stream/XMLStreamReader.html#getAttributeNamespace(int)">getAttributeNamespace</A></CODE> in interface <CODE><A HREF="../../../../javax/xml/stream/XMLStreamReader.html" title="interface in javax.xml.stream">XMLStreamReader</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>index</CODE> - the position of the attribute<DT><B>Returns:</B><DD>the namespace URI (can be null)</DL></DD></DL><HR><A NAME="getAttributeLocalName(int)"><!-- --></A><H3>getAttributeLocalName</H3><PRE>public <A HREF="http://java.sun.com/j2se/1.5/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>getAttributeLocalName</B>(int index)</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../../javax/xml/stream/XMLStreamReader.html#getAttributeLocalName(int)">XMLStreamReader</A></CODE></B></DD><DD>Returns the localName of the attribute at the provided index<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../javax/xml/stream/XMLStreamReader.html#getAttributeLocalName(int)">getAttributeLocalName</A></CODE> in interface <CODE><A HREF="../../../../javax/xml/stream/XMLStreamReader.html" title="interface in javax.xml.stream">XMLStreamReader</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>index</CODE> - the position of the attribute<DT><B>Returns:</B><DD>the localName of the attribute</DL></DD></DL><HR><A NAME="getAttributeType(int)"><!-- --></A><H3>getAttributeType</H3><PRE>public <A HREF="http://java.sun.com/j2se/1.5/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>getAttributeType</B>(int index)</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../../javax/xml/stream/XMLStreamReader.html#getAttributeType(int)">XMLStreamReader</A></CODE></B></DD><DD>Returns the XML type of the attribute at the provided index<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../javax/xml/stream/XMLStreamReader.html#getAttributeType(int)">getAttributeType</A></CODE> in interface <CODE><A HREF="../../../../javax/xml/stream/XMLStreamReader.html" title="interface in javax.xml.stream">XMLStreamReader</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>index</CODE> - the position of the attribute<DT><B>Returns:</B><DD>the XML type of the attribute</DL></DD></DL><HR><A NAME="getAttributeValue(int)"><!-- --></A><H3>getAttributeValue</H3><PRE>public <A HREF="http://java.sun.com/j2se/1.5/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>getAttributeValue</B>(int index)</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../../javax/xml/stream/XMLStreamReader.html#getAttributeValue(int)">XMLStreamReader</A></CODE></B></DD><DD>Returns the value of the attribute at the index<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../javax/xml/stream/XMLStreamReader.html#getAttributeValue(int)">getAttributeValue</A></CODE> in interface <CODE><A HREF="../../../../javax/xml/stream/XMLStreamReader.html" title="interface in javax.xml.stream">XMLStreamReader</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>index</CODE> - the position of the attribute<DT><B>Returns:</B><DD>the attribute value</DL></DD></DL><HR><A NAME="isAttributeSpecified(int)"><!-- --></A><H3>isAttributeSpecified</H3><PRE>public boolean <B>isAttributeSpecified</B>(int index)</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../../javax/xml/stream/XMLStreamReader.html#isAttributeSpecified(int)">XMLStreamReader</A></CODE></B></DD><DD>Returns a boolean which indicates if this attribute was created by default<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../javax/xml/stream/XMLStreamReader.html#isAttributeSpecified(int)">isAttributeSpecified</A></CODE> in interface <CODE><A HREF="../../../../javax/xml/stream/XMLStreamReader.html" title="interface in javax.xml.stream">XMLStreamReader</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>index</CODE> - the position of the attribute<DT><B>Returns:</B><DD>true if this is a default attribute</DL></DD></DL><HR><A NAME="getNamespaceCount()"><!-- --></A><H3>getNamespaceCount</H3><PRE>public int <B>getNamespaceCount</B>()</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../../javax/xml/stream/XMLStreamReader.html#getNamespaceCount()">XMLStreamReader</A></CODE></B></DD><DD>Returns the count of namespaces declared on this START_ELEMENT or END_ELEMENT, this method is only valid on a START_ELEMENT, END_ELEMENT or NAMESPACE. On an END_ELEMENT the count is of the namespaces that are about to go out of scope. This is the equivalent of the information reported by SAX callback for an end element event.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../javax/xml/stream/XMLStreamReader.html#getNamespaceCount()">getNamespaceCount</A></CODE> in interface <CODE><A HREF="../../../../javax/xml/stream/XMLStreamReader.html" title="interface in javax.xml.stream">XMLStreamReader</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>returns the number of namespace declarations on this specific element</DL></DD></DL><HR><A NAME="getNamespacePrefix(int)"><!-- --></A><H3>getNamespacePrefix</H3><PRE>public <A HREF="http://java.sun.com/j2se/1.5/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>getNamespacePrefix</B>(int index)</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../../javax/xml/stream/XMLStreamReader.html#getNamespacePrefix(int)">XMLStreamReader</A></CODE></B></DD><DD>Returns the prefix for the namespace declared at the index. Returns null if this is the default namespace declaration<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../javax/xml/s
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -