Alphabetical Index

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

A

attribute(String,String,String) - method in class org.xmlpull.v1.XmlSerializer
Write an attribute.

C

CDSECT - static field in class org.xmlpull.v1.XmlPullParser
A CDATA sections was just read; this token is available only from calls to nextToken().
cdsect(String) - method in class org.xmlpull.v1.XmlSerializer
COMMENT - static field in class org.xmlpull.v1.XmlPullParser
An XML comment was just read.
comment(String) - method in class org.xmlpull.v1.XmlSerializer

D

Set new value for entity replacement text as defined in XML 1.0 Section 4.5 Construction of Internal Entity Replacement Text.
DOCDECL - static field in class org.xmlpull.v1.XmlPullParser
An XML document type declaration was just read.
docdecl(String) - method in class org.xmlpull.v1.XmlSerializer

E

END_DOCUMENT - static field in class org.xmlpull.v1.XmlPullParser
Logical end of the xml document.
END_TAG - static field in class org.xmlpull.v1.XmlPullParser
Returned from getEventType(), next(), or nextToken() when an end tag was read.
endDocument() - method in class org.xmlpull.v1.XmlSerializer
Finish writing.
endTag(String,String) - method in class org.xmlpull.v1.XmlSerializer
Write end tag.
ENTITY_REF - static field in class org.xmlpull.v1.XmlPullParser
An entity reference was just read; this token is available from nextToken() only.
entityRef(String) - method in class org.xmlpull.v1.XmlSerializer

F

FEATURE_PROCESS_DOCDECL - static field in class org.xmlpull.v1.XmlPullParser
This feature determines whether the document declaration is processed.
FEATURE_PROCESS_NAMESPACES - static field in class org.xmlpull.v1.XmlPullParser
This feature determines whether the parser processes namespaces.
FEATURE_REPORT_NAMESPACE_ATTRIBUTES - static field in class org.xmlpull.v1.XmlPullParser
This feature determines whether namespace attributes are exposed via the attribute access methods.
FEATURE_VALIDATION - static field in class 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 class org.xmlpull.v1.XmlSerializer
Write all pending output to the stream.

G

getAttributeCount() - method in class 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 class 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.xmlpull.v1.XmlPullParser
Returns the namespace URI of the attribute with the given index (starts from 0).
getAttributePrefix(int) - method in class 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.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.xmlpull.v1.XmlPullParser
Returns the given attributes value.
getAttributeValue(String,String) - method in class org.xmlpull.v1.XmlPullParser
Returns the attributes value identified by namespace URI and namespace localName.
getColumnNumber() - method in class org.xmlpull.v1.XmlPullParser
Returns the current column number, starting from 0.
getColumnNumber() - method in class org.xmlpull.v1.XmlPullParserException
getDepth() - method in class org.xmlpull.v1.XmlPullParser
Returns the current depth of the element.
getDepth() - method in class org.xmlpull.v1.XmlSerializer
Returns the current depth of the element.
getDetail() - method in class org.xmlpull.v1.XmlPullParserException
getEventType() - method in class org.xmlpull.v1.XmlPullParser
Returns the type of the current event (START_TAG, END_TAG, TEXT, etc.)
getFeature(String) - method in class 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 class org.xmlpull.v1.XmlSerializer
Return the current value of the feature with given name.
getInputEncoding() - method in class org.xmlpull.v1.XmlPullParser
Returns the input encoding if known, null otherwise.
getLineNumber() - method in class org.xmlpull.v1.XmlPullParser
Returns the current line number, starting from 1.
getLineNumber() - method in class org.xmlpull.v1.XmlPullParserException
getName() - method in class 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 class org.xmlpull.v1.XmlSerializer
Returns the name of the current element as set by startTag().
getNamespace() - method in class org.xmlpull.v1.XmlPullParser
Returns the namespace URI of the current element.
getNamespace() - method in class org.xmlpull.v1.XmlSerializer
Returns the namespace URI of the current element as set by startTag().
getNamespace(String) - method in class org.xmlpull.v1.XmlPullParser
Returns the URI corresponding to the given prefix, depending on current state of the parser.
getNamespaceCount(int) - method in class org.xmlpull.v1.XmlPullParser
Returns the numbers of elements in the namespace stack for the given depth.
getNamespacePrefix(int) - method in class org.xmlpull.v1.XmlPullParser
Returns the namespace prefixe for the given position in the namespace stack.
getNamespaceUri(int) - method in class 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 class 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 class org.xmlpull.v1.XmlPullParser
Returns the prefix of the current element.
getPrefix(String,boolean) - method in class 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 class org.xmlpull.v1.XmlPullParser
Look up the value of a property.
getProperty(String) - method in class org.xmlpull.v1.XmlSerializer
Look up the value of a property.
getText() - method in class org.xmlpull.v1.XmlPullParser
Returns the text content of the current event as String.
getTextCharacters(int[]) - method in class 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 field in class org.xmlpull.v1.XmlPullParser
Ignorable whitespace was just read.
ignorableWhitespace(String) - method in class org.xmlpull.v1.XmlSerializer
isAttributeDefault(int) - method in class org.xmlpull.v1.XmlPullParser
Returns if the specified attribute was not in input was declared in XML.
isEmptyElementTag() - method in class 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 class 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 class 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.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.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.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 field in class org.xmlpull.v1.XmlPullParser
This constant represents the default namespace (empty string "")

O

org.xmlpull.v1 - package

P

printStackTrace() - method in class org.xmlpull.v1.XmlPullParserException
PROCESSING_INSTRUCTION - static field in class org.xmlpull.v1.XmlPullParser
An XML processing instruction declaration was just read.
processingInstruction(String) - method in class org.xmlpull.v1.XmlSerializer
PROPERTY_NAME - static field 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 class 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 class 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 class org.xmlpull.v1.XmlSerializer
Set feature identified by name (recommended to be URI for uniqueness).
setInput(InputStream,String) - method in class org.xmlpull.v1.XmlPullParser
Sets the input stream the parser is going to process.
setInput(Reader) - method in class 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 class org.xmlpull.v1.XmlSerializer
Set to use binary output stream with given encoding.
setOutput(Writer) - method in class org.xmlpull.v1.XmlSerializer
Set the output to the given writer.
setPrefix(String,String) - method in class org.xmlpull.v1.XmlSerializer
Binds the given prefix to the given namespace.
setProperty(String,Object) - method in class org.xmlpull.v1.XmlPullParser
Set the value of a property.
setProperty(String,Object) - method in class 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 field in class org.xmlpull.v1.XmlPullParser
Signalize that parser is at the very beginning of the document and nothing was read yet.
START_TAG - static field in class org.xmlpull.v1.XmlPullParser
Returned from getEventType(), next(), nextToken() when a start tag was read.
startDocument(String,Boolean) - method in class 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 class org.xmlpull.v1.XmlSerializer
Writes a start tag with the given namespace and name.

T

TEXT - static field in class org.xmlpull.v1.XmlPullParser
Character data was read and will is available by calling getText().
text(char[],int,int) - method in class org.xmlpull.v1.XmlSerializer
Writes text, where special XML chars are escaped automatically
text(String) - method in class org.xmlpull.v1.XmlSerializer
Writes text, where special XML chars are escaped automatically
TYPES - static field in class 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 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).
This exception is thrown to signal XML Pull Parser related faults.
XmlPullParserException(String) - constructor for class org.xmlpull.v1.XmlPullParserException
This class is used to create implementations of XML Pull Parser defined in XMPULL V1 API.
XmlSerializer - interface org.xmlpull.v1.XmlSerializer
Define an interface to serialziation of XML Infoset.

Copyright (c) 2006 IU Extreme! Lab http://www.extreme.indiana.edu/ All Rights Reserved.