XML Pull Parsing
Please turn off all
XML API Styles
A Quote from an XML Founder
Pull Parsing is
Pull APIs
XMLPULL
Only Three Classes:
Simple Wellformedness Checker
Output from a Simple Wellformedness Checker
Event Codes
Listening to Events
Output from EventLister
getText()
getText() Example
Things to note
Names
Names Example
The next() method
next() Example
RSSLister
Improved RSSLister
The nextTag() method
The nextText() method
Attributes
Attributes Example: XLinkSpider
Processing Instructions
Comments
Features and Properties
Required Features
Optional Features
Example: PullValidator
XML Declaration
Namespaces
Requirements
XmlPullParserFactory
XmlPullParser
XmlPullException
XmlSerializer
Serializer Example: Convert RDDL to XHTML
Example: RDDLStripper
One of my favorite features
Java Issues
XML Issues
NekoPull
XMLEvent
XMLEvent Subclasses
Parsing Documents
Simple Wellformedness Checker
Listening to Events
BoundedEvent
ElementEvent
QName class
CharactersEvent
NekoRSSLister
Attributes
NekoSpider
DocumentEvent
ProcessingInstructionEvent
NekoPILister
CommentEvent
NekoCommentPuller
TextDeclEvent
PrefixMappingEvent
PrefixLister
GeneralEntityEvent
EntityLister
XMLPullParser
StAX
To Learn More
Questions?
Entire Presentation as Single File
Start
|
Cafe con Leche
Copyright 2000-2002 Elliotte Rusty Harold
Last Modified November 21, 2002