public class Route
extends org.xmpp.packet.Packet
| Constructor and Description |
|---|
Route(org.dom4j.Element element)
Constructs a new Route using an existing Element.
|
Route(Route route) |
Route(String streamID)
Constructs a new Route.
|
| Modifier and Type | Method and Description |
|---|---|
Route |
createCopy()
Returns a deep copy of this route packet.
|
org.dom4j.Element |
getChildElement()
Returns the wrapped stanza that is being routed.
|
String |
getStreamID()
Return the stream ID that identifies the connection that is actually sending
the wrapped stanza.
|
void |
setChildElement(org.dom4j.Element childElement)
Sets the wrapped stanza by this Route packet.
|
public Route(String streamID)
streamID - the stream ID that identifies the connection that is actually sending
the wrapped stanza.public Route(org.dom4j.Element element)
element - the route Element.public Route(Route route)
public org.dom4j.Element getChildElement()
public void setChildElement(org.dom4j.Element childElement)
childElement - the child element.public String getStreamID()
public Route createCopy()
createCopy in class org.xmpp.packet.PacketCopyright © 2003-2008 Jive Software.