com.jabberwookie.ns.jabber
Class IQ

java.lang.Object
  |
  +--XMLElement
        |
        +--com.jabberwookie.ns.jabber.Chunk
              |
              +--com.jabberwookie.ns.jabber.IQ
All Implemented Interfaces:
Const

public class IQ
extends Chunk

This is the super-class of all packets of type <iq>. The only time you're likely to interface directly with it is when extending it.

Author:
smeiners
See Also:
Serialized Form

Nested Class Summary
 
Nested classes inherited from class com.jabberwookie.ns.jabber.Chunk
Chunk.Type
 
Field Summary
 
Fields inherited from interface com.jabberwookie.ns.jabber.Const
ADDRESS, ASK, AVAILABLE, AWAY, BODY, BOTH, CHAT, CITY, DATE, DESCRIPTION, DIGEST, DISPLAY, DND, EMAIL, ERROR, EXTENDED_AWAY, FROM, GET, GROUP, GROUPCHAT, HASH, HEADLINE, ID, INSTRUCTIONS, IQ, JID, MESSAGE, MISC, NAME, NONE, NORMAL, OS, PASSWORD, PHONE, PRESENCE, PRIORITY, REGISTER, REMOVE, RESOURCE, RESULT, SEARCH, SEQUENCE, SERVICE, SET, SHOW, STAMP, STATE, STATUS, SUBJECT, SUBSCRIBE, SUBSCRIBED, SUBSCRIPTION, TEXT, THREAD, TO, TOKEN, TRANSPORT, TYPE, TZ, UNAVAILABLE, UNSUBSCRIBE, UNSUBSCRIBED, URL, USERNAME, UTC, VERSION, ZIP
 
Constructor Summary
IQ()
          Creates a new instance of IQ
IQ(java.lang.String type)
           
IQ(java.lang.String type, java.lang.String to)
           
IQ(java.lang.String type, java.lang.String to, XMLElement infoQuery)
           
 
Method Summary
 Query getQuery()
           
 
Methods inherited from class com.jabberwookie.ns.jabber.Chunk
getError, getFrom, getId, getTo, getType, getTypeInt, setFrom, setId, setId, setTo, setType, typeIntToString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IQ

public IQ()
Creates a new instance of IQ


IQ

public IQ(java.lang.String type)

IQ

public IQ(java.lang.String type,
          java.lang.String to)

IQ

public IQ(java.lang.String type,
          java.lang.String to,
          XMLElement infoQuery)
Method Detail

getQuery

public Query getQuery()