C D E F G I K N O P R S T X

C

CDSECT - Static variable in interface org.xmlpull.v1.XmlPullParser
TOKEN: CDATA sections was just read (this token is available only from nextToken()).
COMMENT - Static variable in interface org.xmlpull.v1.XmlPullParser
TOKEN: XML comment was just read and getText() will return value inside comment (this token is available only from nextToken()).
column - Variable in class org.xmlpull.v1.XmlPullParserException
 

D

DOCDECL - Static variable in interface org.xmlpull.v1.XmlPullParser
TOKEN: XML DOCTYPE declaration was just read and getText() will return text that is inside DOCDECL (this token is available only from nextToken()).
defineEntityReplacementText(String, String) - Method in class org.kxml2.io.KXmlParser
 
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.
detail - Variable in class org.xmlpull.v1.XmlPullParserException
 

E

END_DOCUMENT - Static variable in interface org.xmlpull.v1.XmlPullParser
EVENT TYPE and TOKEN: logical end of xml document (available from next() and nextToken()).
END_TAG - Static variable in interface org.xmlpull.v1.XmlPullParser
EVENT TYPE and TOKEN: end tag was just read (available from next() and nextToken()).
ENTITY_REF - Static variable in interface org.xmlpull.v1.XmlPullParser
TOKEN: Entity reference was just read (this token is available only from nextToken()).

F

FEATURE_PROCESS_DOCDECL - Static variable in interface org.xmlpull.v1.XmlPullParser
FEATURE: Processing of DOCDECL is by default set to false and if DOCDECL is encountered it is reported by nextToken() and ignored by next().
FEATURE_PROCESS_NAMESPACES - Static variable in interface org.xmlpull.v1.XmlPullParser
FEATURE: Processing of namespaces is by default set to false.
FEATURE_REPORT_NAMESPACE_ATTRIBUTES - Static variable in interface org.xmlpull.v1.XmlPullParser
FEATURE: Report namespace attributes also - they can be distinguished looking for prefix == "xmlns" or prefix == null and name == "xmlns it is off by default and only meaningful when FEATURE_PROCESS_NAMESPACES feature is on.
FEATURE_VALIDATION - Static variable in interface org.xmlpull.v1.XmlPullParser
FEATURE: Report all validation errors as defined by XML 1.0 sepcification (implies that FEATURE_PROCESS_DOCDECL is true and both internal and external DOCDECL will be processed).
features - Variable in class org.xmlpull.v1.XmlPullParserFactory
 

G

getAttributeCount() - Method in class org.kxml2.io.KXmlParser
 
getAttributeCount() - Method in interface org.xmlpull.v1.XmlPullParser
Returns the number of attributes on the current element; -1 if the current event is not START_TAG
getAttributeName(int) - Method in class org.kxml2.io.KXmlParser
 
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 class org.kxml2.io.KXmlParser
 
getAttributeNamespace(int) - Method in interface org.xmlpull.v1.XmlPullParser
Returns the namespace URI of the specified attribute number index (starts from 0).
getAttributePrefix(int) - Method in class org.kxml2.io.KXmlParser
 
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 class org.kxml2.io.KXmlParser
 
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 class org.kxml2.io.KXmlParser
 
getAttributeValue(String, String) - Method in class org.kxml2.io.KXmlParser
 
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 class org.kxml2.io.KXmlParser
 
getColumnNumber() - Method in interface org.xmlpull.v1.XmlPullParser
Current column: numbering starts from 0 (zero should be returned when parser is in START_DOCUMENT state!) It must return -1 if parser does not know current line number or can not determine it (for example in case of WBXML)
getColumnNumber() - Method in class org.xmlpull.v1.XmlPullParserException
 
getDepth() - Method in class org.kxml2.io.KXmlParser
 
getDepth() - Method in interface org.xmlpull.v1.XmlPullParser
Returns the current depth of the element.
getDetail() - Method in class org.xmlpull.v1.XmlPullParserException
 
getEventType() - Method in class org.kxml2.io.KXmlParser
 
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 class org.kxml2.io.KXmlParser
 
getFeature(String) - Method in interface org.xmlpull.v1.XmlPullParser
Return the current value of the feature with given name.
getFeature(String) - Method in class org.xmlpull.v1.XmlPullParserFactory
Return the current value of the feature with given name.
getInputEncoding() - Method in class org.kxml2.io.KXmlParser
 
getInputEncoding() - Method in interface org.xmlpull.v1.XmlPullParser
Return input encoding if known or null if unknown.
getLineNumber() - Method in class org.kxml2.io.KXmlParser
 
getLineNumber() - Method in interface org.xmlpull.v1.XmlPullParser
Current line number: numebering starts from 1.
getLineNumber() - Method in class org.xmlpull.v1.XmlPullParserException
 
getName() - Method in class org.kxml2.io.KXmlParser
 
getName() - Method in interface org.xmlpull.v1.XmlPullParser
For START_TAG or END_TAG returns the (local) name of the current element when namespaces are enabled or raw name when namespaces are disabled.
getNamespace(String) - Method in class org.kxml2.io.KXmlParser
 
getNamespace() - Method in class org.kxml2.io.KXmlParser
 
getNamespace(String) - Method in interface org.xmlpull.v1.XmlPullParser
Return uri for the given prefix.
getNamespace() - Method in interface org.xmlpull.v1.XmlPullParser
Returns the namespace URI of the current element (default namespace is represented as empty string).
getNamespaceCount(int) - Method in class org.kxml2.io.KXmlParser
 
getNamespaceCount(int) - Method in interface org.xmlpull.v1.XmlPullParser
Return position in stack of first namespace slot for element at passed depth.
getNamespacePrefix(int) - Method in class org.kxml2.io.KXmlParser
 
getNamespacePrefix(int) - Method in interface org.xmlpull.v1.XmlPullParser
Return namespace prefixes for position pos in namespace stack If pos is out of range it throw exception.
getNamespaceUri(int) - Method in class org.kxml2.io.KXmlParser
 
getNamespaceUri(int) - Method in interface org.xmlpull.v1.XmlPullParser
Return namespace URIs for position pos in namespace stack If pos is out of range it throw exception.
getPositionDescription() - Method in class org.kxml2.io.KXmlParser
 
getPositionDescription() - Method in interface org.xmlpull.v1.XmlPullParser
Short text describing parser position, including a description of the current event and data source if known and if possible what parser was seeing lastly in input.
getPrefix() - Method in class org.kxml2.io.KXmlParser
 
getPrefix() - Method in interface org.xmlpull.v1.XmlPullParser
Returns the prefix of the current element or null if elemet has no prefix (is in defualt namespace).
getProperty(String) - Method in class org.kxml2.io.KXmlParser
 
getProperty(String) - Method in interface org.xmlpull.v1.XmlPullParser
Look up the value of a property.
getText() - Method in class org.kxml2.io.KXmlParser
 
getText() - Method in interface org.xmlpull.v1.XmlPullParser
Read text content of the current event as String.
getTextCharacters(int[]) - Method in class org.kxml2.io.KXmlParser
 
getTextCharacters(int[]) - Method in interface org.xmlpull.v1.XmlPullParser
Get the buffer that contains text of the current event and start offset of text is passed in first slot of input int array and its length is in second slot.

I

IGNORABLE_WHITESPACE - Static variable in interface org.xmlpull.v1.XmlPullParser
TOKEN: Ignorable whitespace was just read (this token is available only from nextToken()).
isAttributeDefault(int) - Method in class org.kxml2.io.KXmlParser
 
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 class org.kxml2.io.KXmlParser
 
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.
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 class org.kxml2.io.KXmlParser
 
isWhitespace() - Method in interface org.xmlpull.v1.XmlPullParser
Check if current TEXT event contains only whitespace characters.

K

KXmlParser - class org.kxml2.io.KXmlParser.
A simple, pull based XML parser.
KXmlParser() - Constructor for class org.kxml2.io.KXmlParser
 
KXmlParser(int) - Constructor for class org.kxml2.io.KXmlParser
 

N

NO_NAMESPACE - Static variable in interface org.xmlpull.v1.XmlPullParser
This constant represents lack of or default namespace (empty string "")
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 parameters.
next() - Method in class org.kxml2.io.KXmlParser
 
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 class org.kxml2.io.KXmlParser
 
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 class org.kxml2.io.KXmlParser
 
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 class org.kxml2.io.KXmlParser
 
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.

O

org.kxml2.io - package org.kxml2.io
 
org.xmlpull.v1 - package org.xmlpull.v1
 

P

PROCESSING_INSTRUCTION - Static variable in interface org.xmlpull.v1.XmlPullParser
TOKEN: XML processing instruction declaration was just read and getText() will return text that is inside processing instruction (this token is available only from nextToken()).
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).
parserClasses - Variable in class org.xmlpull.v1.XmlPullParserFactory
 
parserClassesLocation - Variable in class org.xmlpull.v1.XmlPullParserFactory
 
printStackTrace() - Method in class org.xmlpull.v1.XmlPullParserException
 

R

require(int, String, String) - Method in class org.kxml2.io.KXmlParser
 
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.
row - Variable in class org.xmlpull.v1.XmlPullParserException
 

S

START_DOCUMENT - Static variable in interface org.xmlpull.v1.XmlPullParser
EVENT TYPE and TOKEN: signalize that parser is at the very beginning of the document and nothing was read yet - the parser is before first call to next() or nextToken() (available from next() and nextToken()).
START_TAG - Static variable in interface org.xmlpull.v1.XmlPullParser
EVENT TYPE and TOKEN: start tag was just read (available from next() and nextToken()).
setFeature(String, boolean) - Method in class org.kxml2.io.KXmlParser
 
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.
setInput(Reader) - Method in class org.kxml2.io.KXmlParser
 
setInput(InputStream, String) - Method in class org.kxml2.io.KXmlParser
 
setInput(Reader) - Method in interface org.xmlpull.v1.XmlPullParser
Set the input for parser.
setInput(InputStream, String) - Method in interface org.xmlpull.v1.XmlPullParser
Set the input stream for parser.
setNamespaceAware(boolean) - Method in class org.xmlpull.v1.XmlPullParserFactory
Specifies that the parser produced by this factory will provide support for XML namespaces.
setProperty(String, Object) - Method in class org.kxml2.io.KXmlParser
 
setProperty(String, Object) - Method in interface org.xmlpull.v1.XmlPullParser
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 By default the value of this is set to false.

T

TEXT - Static variable in interface org.xmlpull.v1.XmlPullParser
EVENT TYPE and TOKEN: character data was read and will be available by call to getText() (available from next() and nextToken()).
TYPES - Static variable in interface org.xmlpull.v1.XmlPullParser
Use this array to convert event type number (such as START_TAG) to to string giving event name, ex: "START_TAG" == TYPES[START_TAG] This array contains all event types and token types and represents them as concise strings.

X

XmlPullParser - interface org.xmlpull.v1.XmlPullParser.
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 org.xmlpull.v1.XmlPullParserException.
This exception is thrown to signal XML Pull Parser related faults.
XmlPullParserException(String) - Constructor for class org.xmlpull.v1.XmlPullParserException
 
XmlPullParserException(String, XmlPullParser, Throwable) - Constructor for class org.xmlpull.v1.XmlPullParserException
 
XmlPullParserFactory - class org.xmlpull.v1.XmlPullParserFactory.
This class is used to create implementations of XML Pull Parser defined in XMPULL V1 API.
XmlPullParserFactory() - Constructor for class org.xmlpull.v1.XmlPullParserFactory
Protected constructor to be called by factory implementations.

C D E F G I K N O P R S T X