java.lang.Object
SubHandler
edu.ou.kmi.buddyspace.xml.XDataHandler
- public class XDataHandler
- extends SubHandler
Handler class to build <x xmlns='jabber:x:data' type='form'> objects
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
elementChars
private java.lang.StringBuffer elementChars
- used to capture data between element tags
builder
private XDataBuilder builder
- builder for XData objects
XDataHandler
public XDataHandler()
characters
public void characters(char[] ch,
int start,
int length)
throws 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.
handleStartElement
protected void handleStartElement(java.lang.String name,
org.xml.sax.AttributeList attributes)
throws org.xml.sax.SAXException
handleEndElement
protected void handleEndElement(java.lang.String name)
throws org.xml.sax.SAXException
stopHandler
protected java.lang.Object stopHandler(java.lang.String name)
throws org.xml.sax.SAXException
receiveChildData
protected void receiveChildData(SubHandler subHandler,
java.lang.Object o)