com.ibm.portal.resolver.iwidget.xml
Interface IWidgetMicroformatContentHandler

All Superinterfaces:
org.xml.sax.ContentHandler, ResettableContentHandler
All Known Implementing Classes:
EmptyIWidgetMicroformatContentHandler

public interface IWidgetMicroformatContentHandler
extends ResettableContentHandler

Content handler which can be used to generate SAX events representing an iwidget microformat as defined in the iwidget spec (see chapter about embedding iwidgets).


Method Summary
 void endContent()
           
 void endDescRef()
           
 void endDescription()
           
 void endEvent()
           
 void endEventDescription()
           
 void endHandler()
           
 void endItem()
           
 void endItemSet()
           
 void endIWidget()
           
 void endIWidgetDefinition()
           
 void endNewWire()
           
 void endPayloadType()
           
 void endReceivedEvent()
           
 void endRemoveWire()
           
 void endSourceEvent()
           
 void endTargetEvent()
           
 void endTitle()
           
 void endValue()
           
 void startContent(java.lang.String mode, org.xml.sax.Attributes attr)
          Note that the HTML content is not supposed to be represented as CDATA.
 void startDescRef(java.lang.String eventDescName, org.xml.sax.Attributes attr)
          Use a characters event to communicate an event-specific payload type.
 void startDescription(org.xml.sax.Attributes attr)
           
 void startEvent(java.lang.String eventName, java.lang.Boolean published, java.lang.Boolean handled, org.xml.sax.Attributes attr)
           
 void startEventDescription(java.lang.String eventDescName, org.xml.sax.Attributes attr)
           
 void startHandler(org.xml.sax.Attributes attr)
          Use a characters event to communicate the actual onEvent handler name.
 void startItem(java.lang.String itemName, java.util.Locale locale, org.xml.sax.Attributes attr)
           
 void startItemSet(java.lang.String itemSetName, org.xml.sax.Attributes attr)
           
 void startIWidget(java.lang.String widgetID, java.lang.Boolean sandbox, org.xml.sax.Attributes attr)
           
 void startIWidgetDefinition(java.lang.String definitionURL, org.xml.sax.Attributes attr)
           
 void startNewWire(org.xml.sax.Attributes attr)
          Use a characters event to communicate the actual onNewWire handler name.
 void startPayloadType(org.xml.sax.Attributes attr)
          Use a characters event to communicate the actual payload type.
 void startReceivedEvent(org.xml.sax.Attributes attr)
           
 void startRemoveWire(org.xml.sax.Attributes attr)
          Use a characters event to communicate the actual onRemoveWire handler name.
 void startSourceEvent(java.lang.String sourceWidgetID, org.xml.sax.Attributes attr)
          Source event name is supposed to be communicated using a characters event.
 void startTargetEvent(org.xml.sax.Attributes attr)
          Target event name is supposed to be communicated using a characters event.
 void startTitle(org.xml.sax.Attributes attr)
           
 void startValue(java.util.Locale locale, org.xml.sax.Attributes attr)
          Use a characters event to communicate the real value.
 
Methods inherited from interface org.xml.sax.ContentHandler
characters, endDocument, endElement, endPrefixMapping, ignorableWhitespace, processingInstruction, setDocumentLocator, skippedEntity, startDocument, startElement, startPrefixMapping
 

Method Detail

endContent

void endContent()
                throws org.xml.sax.SAXException
Throws:
org.xml.sax.SAXException

endDescRef

void endDescRef()
                throws org.xml.sax.SAXException
Throws:
org.xml.sax.SAXException

endDescription

void endDescription()
                    throws org.xml.sax.SAXException
Throws:
org.xml.sax.SAXException

endEvent

void endEvent()
              throws org.xml.sax.SAXException
Throws:
org.xml.sax.SAXException

endEventDescription

void endEventDescription()
                         throws org.xml.sax.SAXException
Throws:
org.xml.sax.SAXException

endHandler

void endHandler()
                throws org.xml.sax.SAXException
Throws:
org.xml.sax.SAXException

endItem

void endItem()
             throws org.xml.sax.SAXException
Throws:
org.xml.sax.SAXException

endItemSet

void endItemSet()
                throws org.xml.sax.SAXException
Throws:
org.xml.sax.SAXException

endIWidget

void endIWidget()
                throws org.xml.sax.SAXException
Throws:
org.xml.sax.SAXException

endIWidgetDefinition

void endIWidgetDefinition()
                          throws org.xml.sax.SAXException
Throws:
org.xml.sax.SAXException

endNewWire

void endNewWire()
                throws org.xml.sax.SAXException
Throws:
org.xml.sax.SAXException

endPayloadType

void endPayloadType()
                    throws org.xml.sax.SAXException
Throws:
org.xml.sax.SAXException

endReceivedEvent

void endReceivedEvent()
                      throws org.xml.sax.SAXException
Throws:
org.xml.sax.SAXException

endRemoveWire

void endRemoveWire()
                   throws org.xml.sax.SAXException
Throws:
org.xml.sax.SAXException

endSourceEvent

void endSourceEvent()
                    throws org.xml.sax.SAXException
Throws:
org.xml.sax.SAXException

endTargetEvent

void endTargetEvent()
                    throws org.xml.sax.SAXException
Throws:
org.xml.sax.SAXException

endTitle

void endTitle()
              throws org.xml.sax.SAXException
Throws:
org.xml.sax.SAXException

endValue

void endValue()
              throws org.xml.sax.SAXException
Throws:
org.xml.sax.SAXException

startContent

void startContent(java.lang.String mode,
                  org.xml.sax.Attributes attr)
                  throws org.xml.sax.SAXException
Note that the HTML content is not supposed to be represented as CDATA. It has to be written by producing the respective SAX events representing the HTML content.

Parameters:
mode -
attr -
Throws:
org.xml.sax.SAXException

startDescRef

void startDescRef(java.lang.String eventDescName,
                  org.xml.sax.Attributes attr)
                  throws org.xml.sax.SAXException
Use a characters event to communicate an event-specific payload type.

Parameters:
eventDescName -
attr -
Throws:
org.xml.sax.SAXException

startDescription

void startDescription(org.xml.sax.Attributes attr)
                      throws org.xml.sax.SAXException
Parameters:
attr -
Throws:
org.xml.sax.SAXException

startEvent

void startEvent(java.lang.String eventName,
                java.lang.Boolean published,
                java.lang.Boolean handled,
                org.xml.sax.Attributes attr)
                throws org.xml.sax.SAXException
Parameters:
eventName -
published -
handled -
attr -
Throws:
org.xml.sax.SAXException

startEventDescription

void startEventDescription(java.lang.String eventDescName,
                           org.xml.sax.Attributes attr)
                           throws org.xml.sax.SAXException
Parameters:
eventDescName -
attr -
Throws:
org.xml.sax.SAXException

startHandler

void startHandler(org.xml.sax.Attributes attr)
                  throws org.xml.sax.SAXException
Use a characters event to communicate the actual onEvent handler name.

Parameters:
attr -
Throws:
org.xml.sax.SAXException

startItem

void startItem(java.lang.String itemName,
               java.util.Locale locale,
               org.xml.sax.Attributes attr)
               throws org.xml.sax.SAXException
Parameters:
itemName -
locale -
attr -
Throws:
org.xml.sax.SAXException

startItemSet

void startItemSet(java.lang.String itemSetName,
                  org.xml.sax.Attributes attr)
                  throws org.xml.sax.SAXException
Parameters:
itemSetName -
attr -
Throws:
org.xml.sax.SAXException

startIWidget

void startIWidget(java.lang.String widgetID,
                  java.lang.Boolean sandbox,
                  org.xml.sax.Attributes attr)
                  throws org.xml.sax.SAXException
Parameters:
widgetID -
sandbox -
attr -
Throws:
org.xml.sax.SAXException

startIWidgetDefinition

void startIWidgetDefinition(java.lang.String definitionURL,
                            org.xml.sax.Attributes attr)
                            throws org.xml.sax.SAXException
Parameters:
definitionURL -
attr -
Throws:
org.xml.sax.SAXException

startNewWire

void startNewWire(org.xml.sax.Attributes attr)
                  throws org.xml.sax.SAXException
Use a characters event to communicate the actual onNewWire handler name.

Parameters:
attr -
Throws:
org.xml.sax.SAXException

startPayloadType

void startPayloadType(org.xml.sax.Attributes attr)
                      throws org.xml.sax.SAXException
Use a characters event to communicate the actual payload type.

Parameters:
attr -
Throws:
org.xml.sax.SAXException

startReceivedEvent

void startReceivedEvent(org.xml.sax.Attributes attr)
                        throws org.xml.sax.SAXException
Parameters:
attr -
Throws:
org.xml.sax.SAXException

startRemoveWire

void startRemoveWire(org.xml.sax.Attributes attr)
                     throws org.xml.sax.SAXException
Use a characters event to communicate the actual onRemoveWire handler name.

Parameters:
attr -
Throws:
org.xml.sax.SAXException

startSourceEvent

void startSourceEvent(java.lang.String sourceWidgetID,
                      org.xml.sax.Attributes attr)
                      throws org.xml.sax.SAXException
Source event name is supposed to be communicated using a characters event.

Parameters:
sourceWidgetID -
attr -
Throws:
org.xml.sax.SAXException

startTargetEvent

void startTargetEvent(org.xml.sax.Attributes attr)
                      throws org.xml.sax.SAXException
Target event name is supposed to be communicated using a characters event.

Parameters:
attr -
Throws:
org.xml.sax.SAXException

startTitle

void startTitle(org.xml.sax.Attributes attr)
                throws org.xml.sax.SAXException
Parameters:
attr -
Throws:
org.xml.sax.SAXException

startValue

void startValue(java.util.Locale locale,
                org.xml.sax.Attributes attr)
                throws org.xml.sax.SAXException
Use a characters event to communicate the real value.

Parameters:
locale -
attr -
Throws:
org.xml.sax.SAXException