Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- attribute(String, String, String) - Method in interface org.xmlpull.v1.XmlSerializer
-
Write an attribute.
C
- cdsect(String) - Method in interface org.xmlpull.v1.XmlSerializer
- CDSECT - Static variable in interface org.xmlpull.v1.XmlPullParser
-
A CDATA sections was just read; this token is available only from calls to nextToken().
- comment(String) - Method in interface org.xmlpull.v1.XmlSerializer
- COMMENT - Static variable in interface org.xmlpull.v1.XmlPullParser
-
An XML comment was just read.
D
- defineEntityReplacementText(String, String) - Method in interface org.xmlpull.v1.XmlPullParser
-
Set new value for entity replacement text as defined in XML 1.0 Section 4.5 Construction of Internal Entity Replacement Text.
- docdecl(String) - Method in interface org.xmlpull.v1.XmlSerializer
- DOCDECL - Static variable in interface org.xmlpull.v1.XmlPullParser
-
An XML document type declaration was just read.
E
- END_DOCUMENT - Static variable in interface org.xmlpull.v1.XmlPullParser
-
Logical end of the xml document.
- END_TAG - Static variable in interface org.xmlpull.v1.XmlPullParser
-
Returned from getEventType(), next(), or nextToken() when an end tag was read.
- endDocument() - Method in interface org.xmlpull.v1.XmlSerializer
-
Finish writing.
- endTag(String, String) - Method in interface org.xmlpull.v1.XmlSerializer
-
Write end tag.
- ENTITY_REF - Static variable in interface org.xmlpull.v1.XmlPullParser
-
An entity reference was just read; this token is available from nextToken() only.
- entityRef(String) - Method in interface org.xmlpull.v1.XmlSerializer
F
- FEATURE_PROCESS_DOCDECL - Static variable in interface org.xmlpull.v1.XmlPullParser
-
This feature determines whether the document declaration is processed.
- FEATURE_PROCESS_NAMESPACES - Static variable in interface org.xmlpull.v1.XmlPullParser
-
This feature determines whether the parser processes namespaces.
- FEATURE_REPORT_NAMESPACE_ATTRIBUTES - Static variable in interface org.xmlpull.v1.XmlPullParser
-
This feature determines whether namespace attributes are exposed via the attribute access methods.
- FEATURE_VALIDATION - Static variable in interface org.xmlpull.v1.XmlPullParser
-
If this feature is activated, all validation errors as defined in the XML 1.0 sepcification are reported.
- flush() - Method in interface org.xmlpull.v1.XmlSerializer
-
Write all pending output to the stream.
G
- 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 class 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 class 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 class 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() - 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().
- getNamespace(String) - Method in interface org.xmlpull.v1.XmlPullParser
-
Returns the URI corresponding to the given prefix, depending on current state of the parser.
- 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.
I
- IGNORABLE_WHITESPACE - Static variable in interface org.xmlpull.v1.XmlPullParser
-
Ignorable whitespace was just read.
- ignorableWhitespace(String) - Method in interface org.xmlpull.v1.XmlSerializer
- isAttributeDefault(int) - Method in interface org.xmlpull.v1.XmlPullParser
-
Returns if the specified attribute was not in input was declared in XML.
- isEmptyElementTag() - Method in interface org.xmlpull.v1.XmlPullParser
-
Returns true if the current event is START_TAG and the tag is degenerated (e.g.
- isNamespaceAware() - Method in class org.xmlpull.v1.XmlPullParserFactory
-
Indicates whether or not the factory is configured to produce parsers which are namespace aware (it simply set feature XmlPullParser.FEATURE_PROCESS_NAMESPACES to true or false).
- isValidating() - Method in class org.xmlpull.v1.XmlPullParserFactory
-
Indicates whether or not the factory is configured to produce parsers which validate the XML content during parse.
- isWhitespace() - Method in interface org.xmlpull.v1.XmlPullParser
-
Checks whether the current TEXT event contains only whitespace characters.
N
- 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 "")
O
- org.xmlpull.v1 - package org.xmlpull.v1
P
- printStackTrace() - Method in exception class org.xmlpull.v1.XmlPullParserException
- PROCESSING_INSTRUCTION - Static variable in interface org.xmlpull.v1.XmlPullParser
-
An XML processing instruction declaration was just read.
- processingInstruction(String) - Method in interface org.xmlpull.v1.XmlSerializer
- PROPERTY_NAME - Static variable in class org.xmlpull.v1.XmlPullParserFactory
-
Name of the system or midlet property that should be used for a system property containing a comma separated list of factory or parser class names (value: org.xmlpull.v1.XmlPullParserFactory).
R
- require(int, String, String) - Method in interface org.xmlpull.v1.XmlPullParser
-
Test if the current event is of the given type and if the namespace and name do match.
S
- 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(InputStream, String) - Method in interface org.xmlpull.v1.XmlPullParser
-
Sets the input stream the parser is going to process.
- setInput(Reader) - Method in interface org.xmlpull.v1.XmlPullParser
-
Set the input source for parser to the given reader and resets the parser.
- 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
-
Returned from getEventType(), next(), nextToken() when a start tag was read.
- 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.
T
- text(char[], int, int) - Method in interface org.xmlpull.v1.XmlSerializer
-
Writes text, where special XML chars are escaped automatically
- text(String) - Method in interface org.xmlpull.v1.XmlSerializer
-
Writes text, where special XML chars are escaped automatically
- TEXT - Static variable in interface org.xmlpull.v1.XmlPullParser
-
Character data was read and will is available by calling getText().
- TYPES - Static variable in interface org.xmlpull.v1.XmlPullParser
-
This array can be used to convert the event type integer constants such as START_TAG or TEXT to to a string.
X
- XmlPullParser - Interface in org.xmlpull.v1
-
XML Pull Parser is an interface that defines parsing functionlity provided in XMLPULL V1 API (visit this website to learn more about API and its implementations).
- XmlPullParserException - Exception Class in org.xmlpull.v1
-
This exception is thrown to signal XML Pull Parser related faults.
- XmlPullParserException(String) - Constructor for exception class org.xmlpull.v1.XmlPullParserException
- XmlPullParserException(String, XmlPullParser, Throwable) - Constructor for exception class org.xmlpull.v1.XmlPullParserException
- XmlPullParserFactory - Class in org.xmlpull.v1
-
This class is used to create implementations of XML Pull Parser defined in XMPULL V1 API.
- XmlSerializer - Interface in org.xmlpull.v1
-
Define an interface to serialziation of XML Infoset.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form