Class XDBHandler

All Implemented Interfaces:

public final class XDBHandler
extends PacketSubHandler

This is the SubHandler for "" objects. It uses a XDBBuilder object to parse and create XDB objects from the incoming XML, and notifies the main bean (ConnectionBean) when either a new packet arrives, an error arrives on an attempted sent message, or an error arrives in the server XML.

Field Summary
Fields inherited from class org.jabber.jabberbeans.sax.PacketSubHandler
builder, elementChars
Constructor Summary
          Creates a new XDBHandler instance.
Method Summary
protected  void packetStartHandler(java.lang.String name, AttributeList attributes)
          packetStartHandler is overloaded by subclasses to initialize additional attributes.
Methods inherited from class org.jabber.jabberbeans.sax.PacketSubHandler
characters, handleEndElement, handleStartElement, packetEndElement, packetStartElement, receiveChildData, startHandler, stopHandler
Methods inherited from class org.jabber.jabberbeans.sax.SubHandler
endDocument, endElement, getHandlerFactory, getSubCount, graftParent, graftSubHandler, ignorableWhitespace, processingInstruction, setChildSubHandler, setDocumentLocator, setHandlerFactory, setParent, setParser, startDocument, startElement
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail


public XDBHandler()
Creates a new XDBHandler instance.

Method Detail


protected void packetStartHandler(java.lang.String name,
                                  AttributeList attributes)
Description copied from class: PacketSubHandler
packetStartHandler is overloaded by subclasses to initialize additional attributes.

packetStartHandler in class PacketSubHandler
name - a String value
attributes - an AttributeList value