com.valhalla.jbother.jabber.smack
Class Blank

java.lang.Object
  extended by org.jivesoftware.smack.packet.Packet
      extended by com.valhalla.jbother.jabber.smack.Blank

public class Blank
extends org.jivesoftware.smack.packet.Packet

Blank packet for creating user-defined packets

Version:
1.0
Author:
Andrey Zakirov

Field Summary
 
Fields inherited from class org.jivesoftware.smack.packet.Packet
ID_NOT_AVAILABLE
 
Constructor Summary
Blank()
          Default constructor - sets up the packet with no information
Blank(java.lang.String text)
          Sets up the packet with information
 
Method Summary
 java.lang.String toXML()
          Builds the packet
 
Methods inherited from class org.jivesoftware.smack.packet.Packet
addExtension, deleteProperty, getError, getExtension, getExtensions, getExtensionsXML, getFrom, getPacketID, getProperty, getPropertyNames, getTo, removeExtension, setError, setFrom, setPacketID, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setTo
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Blank

public Blank()
Default constructor - sets up the packet with no information


Blank

public Blank(java.lang.String text)
Sets up the packet with information

Parameters:
text - user-defined packet text
Method Detail

toXML

public java.lang.String toXML()
Builds the packet

Specified by:
toXML in class org.jivesoftware.smack.packet.Packet
Returns:
the XML version of the packet