org.jabber.jabberbeans.sax.serverside
Class XDBHandler
java.lang.Object
|
+--org.jabber.jabberbeans.sax.SubHandler
|
+--org.jabber.jabberbeans.sax.PacketSubHandler
|
+--org.jabber.jabberbeans.sax.serverside.XDBHandler
- All Implemented Interfaces:
- DocumentHandler
- 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.
Constructor Summary |
XDBHandler()
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.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 |
XDBHandler
public XDBHandler()
- Creates a new
XDBHandler
instance.
packetStartHandler
protected void packetStartHandler(java.lang.String name,
AttributeList attributes)
- Description copied from class:
PacketSubHandler
packetStartHandler
is overloaded by subclasses to initialize
additional attributes.
- Overrides:
packetStartHandler
in class PacketSubHandler
- Parameters:
name
- a String
valueattributes
- an AttributeList
value