Uses of Class
org.xmlpull.v1.XmlPullParserException
Packages that use XmlPullParserException
-
Uses of XmlPullParserException in Unnamed Package
Methods in Unnamed Package that throw XmlPullParserExceptionModifier and TypeMethodDescriptionvoid
BestDeal.checkVendor
(XmlPullParser parser) subroutine handling a single vendor(package private) static void
XmlCompare.compareXmlTwoFiles
(Reader rr, Reader rq) void
RSSReader.convertChannelToHtml
(XmlPullParser parser, XmlSerializer writer) void
RSSReader.convertItemToHtml
(XmlPullParser parser, XmlSerializer writer) void
RSSReader.convertRSSToHtml
(XmlPullParser parser, XmlSerializer writer) void
XmlPullCount.countXml
(XmlPullParser xpp) static String
XmlCompare.getNextElementText
(XmlPullParser parser) Returns the next Element in the stream (including all sub elements) as a Stringstatic void
main() method decodes command-line parameters and invoke the parserstatic void
static void
static void
static void
static void
static void
This method will parse the input reader and return a Map.private List
ChannelPullHandler.parseFirst
(int type) This method will recursively parse the document, returning a List build of Key-Value pairs.private static void
CloneParser.print
(XmlPullParser pp) void
MyXmlPullApp.processDocument
(XmlPullParser xpp) void
MyXmlPullApp.processText
(XmlPullParser xpp) private void
Roundtrip.roundTrip()
private static void
private static void
Roundtrip.roundTrip
(XmlPullParserFactory factory, String loc) private static void
Roundtrip.roundTrip
(XmlPullParserFactory factory, String loc, String indent) void
BestDeal.update
(XmlPullParser parser) updates the best deal from the given list in the formatprivate void
Roundtrip.writeStartTag()
private void
Roundtrip.writeToken
(int eventType) Constructors in Unnamed Package that throw XmlPullParserException -
Uses of XmlPullParserException in eventlist
Methods in eventlist that throw XmlPullParserException -
Uses of XmlPullParserException in org.xmlpull.v1
Methods in org.xmlpull.v1 that throw XmlPullParserExceptionModifier and TypeMethodDescriptionvoid
XmlPullParser.defineEntityReplacementText
(String entityName, 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.getEventType()
Returns the type of the current event (START_TAG, END_TAG, TEXT, etc.)int
XmlPullParser.getNamespaceCount
(int depth) Returns the numbers of elements in the namespace stack for the given depth.XmlPullParser.getNamespacePrefix
(int pos) Returns the namespace prefixe for the given position in the namespace stack.XmlPullParser.getNamespaceUri
(int pos) Returns the namespace URI for the given position in the namespace stack If the position is out of range, an exception is thrown.boolean
XmlPullParser.isEmptyElementTag()
Returns true if the current event is START_TAG and the tag is degenerated (e.g.boolean
XmlPullParser.isWhitespace()
Checks whether the current TEXT event contains only whitespace characters.static XmlPullParserFactory
XmlPullParserFactory.newInstance()
Create a new instance of a PullParserFactory that can be used to create XML pull parsers (see class description for more details).static XmlPullParserFactory
XmlPullParserFactory.newInstance
(String classNames, Class context) XmlPullParserFactory.newPullParser()
Creates a new instance of a XML Pull Parser using the currently configured factory features.XmlPullParserFactory.newSerializer()
Creates a new instance of a XML Serializer.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.nextTag()
Call next() and return event if it is START_TAG or END_TAG otherwise throw an exception.XmlPullParser.nextText()
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.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
Test if the current event is of the given type and if the namespace and name do match.void
XmlPullParser.setFeature
(String name, boolean state) Use this call to change the general behaviour of the parser, such as namespace processing or doctype declaration handling.void
XmlPullParserFactory.setFeature
(String name, boolean state) Set the features to be set when XML Pull Parser is created by this factory.void
XmlPullParser.setInput
(InputStream inputStream, String inputEncoding) Sets the input stream the parser is going to process.void
Set the input source for parser to the given reader and resets the parser.void
XmlPullParser.setProperty
(String name, Object value) Set the value of a property.