| |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AtomXMLReader
Data source for an XML stream in ATOM format (http://tools.ietf.org/html/rfc4287). The reader can be used the same way as any other JAXP-XML reader.
All XML events that are read from the source XMLReader are interpreted and the events in the ATOM namespace are mapped to the named methods on the attached AtomContentHandler whereas the plain SAX events are dispatched to the default SAX methods on the ContentHandler superclass.
Method Summary | |
---|---|
void | setAtomContentHandler(AtomContentHandler aHandler)
Allow an application to register an ATOM content event handler. |
void | setContentHandler(org.xml.sax.ContentHandler aHandler)
Allow an application to register a default ContentHandler that receives the ATOM events in the form of standard SAX events. |
Methods inherited from interface org.xml.sax.XMLFilter |
---|
getParent, setParent |
Methods inherited from interface org.xml.sax.XMLReader |
---|
getContentHandler, getDTDHandler, getEntityResolver, getErrorHandler, getFeature, getProperty, parse, parse, setDTDHandler, setEntityResolver, setErrorHandler, setFeature, setProperty |
Method Detail |
---|
void setAtomContentHandler(AtomContentHandler aHandler)
If the application does not register a content handler, all content events reported by the reader will be silently ignored.
Applications may register a new or different handler in the middle of a parse, and the SAX parser must begin using the new handler immediately.
void setContentHandler(org.xml.sax.ContentHandler aHandler)
If the application does not register a content handler, all content events reported by the parser will be silently ignored.
Applications may register a new or different handler in the middle of a parse, and the SAX parser must begin using the new handler immediately.
| |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |