edu.ou.kmi.buddyspace.xml
Class XDataFieldOptionHandler

java.lang.Object
  |
  +--SubHandler
        |
        +--edu.ou.kmi.buddyspace.xml.XDataFieldOptionHandler

public class XDataFieldOptionHandler
extends SubHandler

Handler class to build <option> objects inside jabber:x:data fields

See Also:
Serialized Form

Constructor Summary
XDataFieldOptionHandler()
           
 
Method Summary
 void characters(char[] ch, int start, int length)
           
protected  void handleEndElement(java.lang.String name)
           
protected  void handleStartElement(java.lang.String name, org.xml.sax.AttributeList attributes)
           
protected  void receiveChildData(SubHandler subHandler, java.lang.Object o)
           
protected  void startHandler(java.lang.String name, org.xml.sax.AttributeList attributes)
          Gets called when the underlying engine decides to pass an entity and all sub-entities off to your subhandler.
protected  java.lang.Object stopHandler(java.lang.String name)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XDataFieldOptionHandler

public XDataFieldOptionHandler()
Method Detail

characters

public void characters(char[] ch,
                       int start,
                       int length)
                throws org.xml.sax.SAXException
org.xml.sax.SAXException

startHandler

protected final void startHandler(java.lang.String name,
                                  org.xml.sax.AttributeList attributes)
                           throws org.xml.sax.SAXException
Gets called when the underlying engine decides to pass an entity and all sub-entities off to your subhandler.

Upon seeing the element that this subhandler handles, we call this constructor, passing in the attributes.

Parameters:
name - name of the element which we are handling.
attributes - list of attributes on this element
org.xml.sax.SAXException

handleStartElement

protected void handleStartElement(java.lang.String name,
                                  org.xml.sax.AttributeList attributes)
                           throws org.xml.sax.SAXException
org.xml.sax.SAXException

handleEndElement

protected void handleEndElement(java.lang.String name)
                         throws org.xml.sax.SAXException
org.xml.sax.SAXException

stopHandler

protected java.lang.Object stopHandler(java.lang.String name)
                                throws org.xml.sax.SAXException
org.xml.sax.SAXException

receiveChildData

protected void receiveChildData(SubHandler subHandler,
                                java.lang.Object o)