|
|||||||||
PREV NEXT | FRAMES NO FRAMES |
Uses of XmlPullParserException in org.xmlpull.v1 |
Methods in org.xmlpull.v1 that throw XmlPullParserException | |
static XmlPullParserFactory |
XmlPullParserFactory.newInstance()
Create a new instance of a PullParserFactory used to create XML pull parser (see description of class for more details). |
static XmlPullParserFactory |
XmlPullParserFactory.newInstance(java.lang.String factoryClassName)
Get a new instance of a PullParserFactory from given class name. |
static XmlPullParserFactory |
XmlPullParserFactory.newInstance(java.lang.Class classLoaderCtx)
Get a new instance of a PullParserFactory used to create XML Pull Parser. |
static XmlPullParserFactory |
XmlPullParserFactory.newInstance(java.lang.Class classLoaderCtx,
java.lang.String factoryClassName)
Get instance of XML pull parser factiry. |
void |
XmlPullParserFactory.setFeature(java.lang.String name,
boolean state)
Set the features to be set when XML Pull Parser is created by this factory. |
void |
XmlPullParserFactory.setNamespaceAware(boolean awareness)
Specifies that the parser produced by this factory will provide support for XML namespaces. |
void |
XmlPullParserFactory.setValidating(boolean validating)
Specifies that the parser produced by this factory will be validating By default the value of this is set to false. |
abstract XmlPullParser |
XmlPullParserFactory.newPullParser()
Creates a new instance of a XML Pull Parser using the currently configured factory parameters. |
void |
XmlPullParser.setFeature(java.lang.String name,
boolean state)
Use this call to change the general behaviour of the parser, such as namespace processing or doctype declaration handling. |
void |
XmlPullParser.setProperty(java.lang.String name,
java.lang.Object value)
Set the value of a property. |
void |
XmlPullParser.setInput(java.io.Reader in)
Set the input for parser. |
void |
XmlPullParser.defineEntityReplacementText(java.lang.String entityName,
java.lang.String replacementText)
Set new value for entity replacement text as defined in XML 1.0 Section 4.5 Construction of Internal Entity Replacement Text. |
int |
XmlPullParser.getNamespaceCount(int depth)
Return position in stack of first namespace slot for element at passed depth. |
java.lang.String |
XmlPullParser.getNamespacePrefix(int pos)
Return namespace prefixes for position pos in namespace stack |
java.lang.String |
XmlPullParser.getNamespaceUri(int pos)
Return namespace URIs for position pos in namespace stack If pos is out of range it throw exception. |
java.lang.String |
XmlPullParser.getNamespace(java.lang.String prefix)
Return uri for the given prefix. |
boolean |
XmlPullParser.isWhitespace()
Check if current TEXT event contains only whitespace characters. |
boolean |
XmlPullParser.isEmptyElementTag()
Returns true if the current event is START_TAG and the tag is degenerated (e.g. |
int |
XmlPullParser.getEventType()
Returns the type of the current event (START_TAG, END_TAG, TEXT, etc.) |
int |
XmlPullParser.next()
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). |
int |
XmlPullParser.nextToken()
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. |
void |
XmlPullParser.require(int type,
java.lang.String namespace,
java.lang.String name)
test if the current event is of the given type and if the namespace and name do match. |
java.lang.String |
XmlPullParser.readText()
If the current event is text, the value of getText is returned and next() is called. |
|
|||||||||
PREV NEXT | FRAMES NO FRAMES |