XML Pull Parsing
Please turn off all
XML API Styles
Pull Parsing
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
Output from the PullSpider
Processing Instructions
Pull Processing Instructions Example
Output from PILister
Comments
Output from CommentPuller
Features and Properties
Required Features
Optional Features
Example: PullValidator
XML Declaration
Example: PullDeclaration
Output from PullDeclaration
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-2003 Elliotte Rusty Harold
Last Modified March 27, 2003