Class RouteHandler

All Implemented Interfaces:

public final class RouteHandler
extends PacketSubHandler

This is the SubHandler for "<route>" objects. It uses a RouteBuilder object to parse and create Route 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 RouteHandler 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 RouteHandler()
Creates a new RouteHandler 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