Class Route

All Implemented Interfaces:
Extension, Packet,

public class Route
extends ContentPacket

A Route object represents a single route packet, which is a wrapper used to direct basic jabber client packets (..) into a specific server-side component

See Also:
ContentPacket, Serialized Form

Field Summary
Fields inherited from class org.jabber.jabberbeans.ContentPacket
error, extensions, fromAddress, identifier, toAddress, type
Constructor Summary
Route(RouteBuilder builder)
          Creates a new InfoQuery instance.
Method Summary
 void appendItem(java.lang.StringBuffer retval)
          appendItem appends the XML representation of the current packet data to the specified StringBuffer.
Methods inherited from class org.jabber.jabberbeans.ContentPacket
appendAnyError, appendBaseAttribs, Extensions, getError, getErrorCode, getErrorText, getFromAddress, getIdentifier, getToAddress, getType
Methods inherited from class org.jabber.jabberbeans.XMLData
appendAttrib, appendAttrib, appendChild, appendChild, escapeString, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.jabber.jabberbeans.Packet
Methods inherited from interface org.jabber.jabberbeans.Extension.Extension

Constructor Detail


public Route(RouteBuilder builder)
      throws java.lang.InstantiationException
Creates a new InfoQuery instance. Note that because of the complexity of the InfoQuery object and because the object is immutable after creation, a builder object is needed in order to construct this object.

builder - an InfoQueryBuilder holding appropriate values
java.lang.InstantiationException - if the values supplied by the InfoQueryBuilder are not sufficient to creaate a 'correctly-formed' InfoQuery packet.
Method Detail


public void appendItem(java.lang.StringBuffer retval)
appendItem appends the XML representation of the current packet data to the specified StringBuffer.

Specified by:
appendItem in interface Packet
Specified by:
appendItem in class XMLData
retval - The StringBuffer to append to