- getAttributeCount() - Method in interface org.xmlpull.v1.XmlPullParser
-
Returns the number of attributes of the current start tag, or
-1 if the current event type is not START_TAG
- getAttributeName(int) - Method in interface org.xmlpull.v1.XmlPullParser
-
Returns the local name of the specified attribute
if namespaces are enabled or just attribute name if namespaces are disabled.
- getAttributeNamespace(int) - Method in interface org.xmlpull.v1.XmlPullParser
-
Returns the namespace URI of the attribute
with the given index (starts from 0).
- getAttributePrefix(int) - Method in interface org.xmlpull.v1.XmlPullParser
-
Returns the prefix of the specified attribute
Returns null if the element has no prefix.
- getAttributeType(int) - Method in interface org.xmlpull.v1.XmlPullParser
-
Returns the type of the specified attribute
If parser is non-validating it MUST return CDATA.
- getAttributeValue(int) - Method in interface org.xmlpull.v1.XmlPullParser
-
Returns the given attributes value.
- getAttributeValue(String, String) - Method in interface org.xmlpull.v1.XmlPullParser
-
Returns the attributes value identified by namespace URI and namespace localName.
- getColumnNumber() - Method in interface org.xmlpull.v1.XmlPullParser
-
Returns the current column number, starting from 0.
- getColumnNumber() - Method in exception org.xmlpull.v1.XmlPullParserException
-
- getDepth() - Method in interface org.xmlpull.v1.XmlPullParser
-
Returns the current depth of the element.
- getDepth() - Method in interface org.xmlpull.v1.XmlSerializer
-
Returns the current depth of the element.
- getDetail() - Method in exception org.xmlpull.v1.XmlPullParserException
-
- getEventType() - Method in interface org.xmlpull.v1.XmlPullParser
-
Returns the type of the current event (START_TAG, END_TAG, TEXT, etc.)
- getFeature(String) - Method in interface org.xmlpull.v1.XmlPullParser
-
Returns the current value of the given feature.
- getFeature(String) - Method in class org.xmlpull.v1.XmlPullParserFactory
-
Return the current value of the feature with given name.
- getFeature(String) - Method in interface org.xmlpull.v1.XmlSerializer
-
Return the current value of the feature with given name.
- getInputEncoding() - Method in interface org.xmlpull.v1.XmlPullParser
-
Returns the input encoding if known, null otherwise.
- getLineNumber() - Method in interface org.xmlpull.v1.XmlPullParser
-
Returns the current line number, starting from 1.
- getLineNumber() - Method in exception org.xmlpull.v1.XmlPullParserException
-
- getName() - Method in interface org.xmlpull.v1.XmlPullParser
-
For START_TAG or END_TAG events, the (local) name of the current
element is returned when namespaces are enabled.
- getName() - Method in interface org.xmlpull.v1.XmlSerializer
-
Returns the name of the current element as set by startTag().
- getNamespace(String) - Method in interface org.xmlpull.v1.XmlPullParser
-
Returns the URI corresponding to the given prefix,
depending on current state of the parser.
- getNamespace() - Method in interface org.xmlpull.v1.XmlPullParser
-
Returns the namespace URI of the current element.
- getNamespace() - Method in interface org.xmlpull.v1.XmlSerializer
-
Returns the namespace URI of the current element as set by startTag().
- getNamespaceCount(int) - Method in interface org.xmlpull.v1.XmlPullParser
-
Returns the numbers of elements in the namespace stack for the given
depth.
- getNamespacePrefix(int) - Method in interface org.xmlpull.v1.XmlPullParser
-
Returns the namespace prefixe for the given position
in the namespace stack.
- getNamespaceUri(int) - Method in interface org.xmlpull.v1.XmlPullParser
-
Returns the namespace URI for the given position in the
namespace stack
If the position is out of range, an exception is thrown.
- getPositionDescription() - Method in interface org.xmlpull.v1.XmlPullParser
-
Returns a short text describing the current parser state, including
the position, a
description of the current event and the data source if known.
- getPrefix() - Method in interface org.xmlpull.v1.XmlPullParser
-
Returns the prefix of the current element.
- getPrefix(String, boolean) - Method in interface org.xmlpull.v1.XmlSerializer
-
Return namespace that corresponds to given prefix
If there is no prefix bound to this namespace return null
but if generatePrefix is false then return generated prefix.
- getProperty(String) - Method in interface org.xmlpull.v1.XmlPullParser
-
Look up the value of a property.
- getProperty(String) - Method in interface org.xmlpull.v1.XmlSerializer
-
Look up the value of a property.
- getText() - Method in interface org.xmlpull.v1.XmlPullParser
-
Returns the text content of the current event as String.
- getTextCharacters(int[]) - Method in interface org.xmlpull.v1.XmlPullParser
-
Returns the buffer that contains the text of the current event,
as well as the start offset and length relevant for the current
event.
- newInstance() - Static method in class org.xmlpull.v1.XmlPullParserFactory
-
Create a new instance of a PullParserFactory that can be used
to create XML pull parsers (see class description for more
details).
- newInstance(String, Class) - Static method in class org.xmlpull.v1.XmlPullParserFactory
-
- newPullParser() - Method in class org.xmlpull.v1.XmlPullParserFactory
-
Creates a new instance of a XML Pull Parser
using the currently configured factory features.
- newSerializer() - Method in class org.xmlpull.v1.XmlPullParserFactory
-
Creates a new instance of a XML Serializer.
- next() - Method in interface org.xmlpull.v1.XmlPullParser
-
Get next parsing event - element content wil be coalesced and only one
TEXT event must be returned for whole element content
(comments and processing instructions will be ignored and emtity references
must be expanded or exception mus be thrown if entity reerence can not be exapnded).
- nextTag() - Method in interface org.xmlpull.v1.XmlPullParser
-
Call next() and return event if it is START_TAG or END_TAG
otherwise throw an exception.
- nextText() - Method in interface org.xmlpull.v1.XmlPullParser
-
If current event is START_TAG then if next element is TEXT then element content is returned
or if next event is END_TAG then empty string is returned, otherwise exception is thrown.
- nextToken() - Method in interface org.xmlpull.v1.XmlPullParser
-
This method works similarly to next() but will expose
additional event types (COMMENT, CDSECT, DOCDECL, ENTITY_REF, PROCESSING_INSTRUCTION, or
IGNORABLE_WHITESPACE) if they are available in input.
- NO_NAMESPACE - Static variable in interface org.xmlpull.v1.XmlPullParser
-
This constant represents the default namespace (empty string "")
- setFeature(String, boolean) - Method in interface org.xmlpull.v1.XmlPullParser
-
Use this call to change the general behaviour of the parser,
such as namespace processing or doctype declaration handling.
- setFeature(String, boolean) - Method in class org.xmlpull.v1.XmlPullParserFactory
-
Set the features to be set when XML Pull Parser is created by this factory.
- setFeature(String, boolean) - Method in interface org.xmlpull.v1.XmlSerializer
-
Set feature identified by name (recommended to be URI for uniqueness).
- setInput(Reader) - Method in interface org.xmlpull.v1.XmlPullParser
-
Set the input source for parser to the given reader and
resets the parser.
- setInput(InputStream, String) - Method in interface org.xmlpull.v1.XmlPullParser
-
Sets the input stream the parser is going to process.
- setNamespaceAware(boolean) - Method in class org.xmlpull.v1.XmlPullParserFactory
-
Specifies that the parser produced by this factory will provide
support for XML namespaces.
- setOutput(OutputStream, String) - Method in interface org.xmlpull.v1.XmlSerializer
-
Set to use binary output stream with given encoding.
- setOutput(Writer) - Method in interface org.xmlpull.v1.XmlSerializer
-
Set the output to the given writer.
- setPrefix(String, String) - Method in interface org.xmlpull.v1.XmlSerializer
-
Binds the given prefix to the given namespace.
- setProperty(String, Object) - Method in interface org.xmlpull.v1.XmlPullParser
-
Set the value of a property.
- setProperty(String, Object) - Method in interface org.xmlpull.v1.XmlSerializer
-
Set the value of a property.
- setValidating(boolean) - Method in class org.xmlpull.v1.XmlPullParserFactory
-
Specifies that the parser produced by this factory will be validating
(it simply set feature XmlPullParser.FEATURE_VALIDATION to true or false).
- START_DOCUMENT - Static variable in interface org.xmlpull.v1.XmlPullParser
-
Signalize that parser is at the very beginning of the document
and nothing was read yet.
- START_TAG - Static variable in interface org.xmlpull.v1.XmlPullParser
-
- startDocument(String, Boolean) - Method in interface org.xmlpull.v1.XmlSerializer
-
Write <?xml declaration with encoding (if encoding not null)
and standalone flag (if standalone not null)
This method can only be called just after setOutput.
- startTag(String, String) - Method in interface org.xmlpull.v1.XmlSerializer
-
Writes a start tag with the given namespace and name.