com.ibm.portal.resolver.mashup.helper
Class LeafMashupContentHandler

java.lang.Object
  extended by com.ibm.portal.resolver.xml.helper.LeafContentHandler
      extended by com.ibm.portal.resolver.mashup.helper.LeafMashupContentHandler
All Implemented Interfaces:
MashupContentHandler, ResettableMashupContentHandler, ResettableContentHandler, org.xml.sax.ContentHandler
Direct Known Subclasses:
ResettableMashupContentHandlerAdapter

public class LeafMashupContentHandler
extends LeafContentHandler
implements ResettableMashupContentHandler

Since:
8.0

Constructor Summary
LeafMashupContentHandler()
           
 
Method Summary
 void endBody()
           
 void endEntry()
           
 void endHeader()
           
 void endHeaders()
           
 void endMashup()
           
 void endValue()
           
 org.xml.sax.ContentHandler getContentHandler()
           
 MashupContentHandler getMashupContentHandler()
          Returns the atom threading content handler that is currently attached to the chain
 void setContentHandler(org.xml.sax.ContentHandler handler)
           
 void setMashupContentHandler(MashupContentHandler aHandler)
          Assign a new atom threading content handler that this handler will reroute its events onto.
 void startBody(org.xml.sax.Attributes attrs)
           
 void startEntry(java.lang.String rURI, org.xml.sax.Attributes attrs)
           
 void startHeader(java.lang.String rName, org.xml.sax.Attributes attrs)
           
 void startHeaders(org.xml.sax.Attributes attrs)
           
 void startMashup(org.xml.sax.Attributes attrs)
           
 void startValue(org.xml.sax.Attributes attrs)
           
 
Methods inherited from class com.ibm.portal.resolver.xml.helper.LeafContentHandler
box, characters, endDocument, endElement, endPrefixMapping, ignorableWhitespace, processingInstruction, setDocumentLocator, skippedEntity, startDocument, startElement, startPrefixMapping
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.xml.sax.ContentHandler
characters, endDocument, endElement, endPrefixMapping, ignorableWhitespace, processingInstruction, setDocumentLocator, skippedEntity, startDocument, startElement, startPrefixMapping
 

Constructor Detail

LeafMashupContentHandler

public LeafMashupContentHandler()
Method Detail

endBody

public void endBody()
             throws org.xml.sax.SAXException
Specified by:
endBody in interface MashupContentHandler
Throws:
org.xml.sax.SAXException

endEntry

public void endEntry()
              throws org.xml.sax.SAXException
Specified by:
endEntry in interface MashupContentHandler
Throws:
org.xml.sax.SAXException

endHeader

public void endHeader()
               throws org.xml.sax.SAXException
Specified by:
endHeader in interface MashupContentHandler
Throws:
org.xml.sax.SAXException

endHeaders

public void endHeaders()
                throws org.xml.sax.SAXException
Specified by:
endHeaders in interface MashupContentHandler
Throws:
org.xml.sax.SAXException

endMashup

public void endMashup()
               throws org.xml.sax.SAXException
Specified by:
endMashup in interface MashupContentHandler
Throws:
org.xml.sax.SAXException

endValue

public void endValue()
              throws org.xml.sax.SAXException
Specified by:
endValue in interface MashupContentHandler
Throws:
org.xml.sax.SAXException

getContentHandler

public org.xml.sax.ContentHandler getContentHandler()
Overrides:
getContentHandler in class LeafContentHandler

getMashupContentHandler

public MashupContentHandler getMashupContentHandler()
Description copied from interface: ResettableMashupContentHandler
Returns the atom threading content handler that is currently attached to the chain

Specified by:
getMashupContentHandler in interface ResettableMashupContentHandler
Returns:
the target content handler

setContentHandler

public void setContentHandler(org.xml.sax.ContentHandler handler)
Overrides:
setContentHandler in class LeafContentHandler

setMashupContentHandler

public void setMashupContentHandler(MashupContentHandler aHandler)
Description copied from interface: ResettableMashupContentHandler
Assign a new atom threading content handler that this handler will reroute its events onto. If the content handler is not assigned, then the events will be silently ignored

Specified by:
setMashupContentHandler in interface ResettableMashupContentHandler
Parameters:
aHandler - target content handler for the events.

startBody

public void startBody(org.xml.sax.Attributes attrs)
               throws org.xml.sax.SAXException
Specified by:
startBody in interface MashupContentHandler
Throws:
org.xml.sax.SAXException

startEntry

public void startEntry(java.lang.String rURI,
                       org.xml.sax.Attributes attrs)
                throws org.xml.sax.SAXException
Specified by:
startEntry in interface MashupContentHandler
Throws:
org.xml.sax.SAXException

startHeader

public void startHeader(java.lang.String rName,
                        org.xml.sax.Attributes attrs)
                 throws org.xml.sax.SAXException
Specified by:
startHeader in interface MashupContentHandler
Throws:
org.xml.sax.SAXException

startHeaders

public void startHeaders(org.xml.sax.Attributes attrs)
                  throws org.xml.sax.SAXException
Specified by:
startHeaders in interface MashupContentHandler
Throws:
org.xml.sax.SAXException

startMashup

public void startMashup(org.xml.sax.Attributes attrs)
                 throws org.xml.sax.SAXException
Specified by:
startMashup in interface MashupContentHandler
Throws:
org.xml.sax.SAXException

startValue

public void startValue(org.xml.sax.Attributes attrs)
                throws org.xml.sax.SAXException
Specified by:
startValue in interface MashupContentHandler
Throws:
org.xml.sax.SAXException