com.ibm.portal.resolver.atom
Interface AtomPublishingXMLReader

All Superinterfaces:
org.xml.sax.XMLFilter, org.xml.sax.XMLReader

public interface AtomPublishingXMLReader
extends org.xml.sax.XMLFilter

Since:
6.0.1

Method Summary
 void setAtomPublishingContentHandler(AtomPublishingContentHandler 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

setAtomPublishingContentHandler

void setAtomPublishingContentHandler(AtomPublishingContentHandler aHandler)
Allow an application to register an ATOM content event handler. This handler will receive ATOM events by calls to the ATOM specific method instead of the generic SAX methods. All non-ATOM events are passed through the SAX methods. This handler will be overridden by calls to XMLReader.setContentHandler(ContentHandler).

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.

Parameters:
aHandler - The content handler.

setContentHandler

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. This handler will be overridden by calls to setAtomPublishingContentHandler(AtomPublishingContentHandler)

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.

Specified by:
setContentHandler in interface org.xml.sax.XMLReader
Parameters:
aHandler - The content handler.