tigase.jaxmpp.core.client.xmpp.stanzas
Class IQ

java.lang.Object
  extended by tigase.jaxmpp.core.client.xml.ElementWrapper
      extended by tigase.jaxmpp.core.client.xmpp.stanzas.Stanza
          extended by tigase.jaxmpp.core.client.xmpp.stanzas.IQ
All Implemented Interfaces:
Element

public class IQ
extends Stanza

Representation of IQ stanza.


Nested Class Summary
 
Nested classes/interfaces inherited from class tigase.jaxmpp.core.client.xmpp.stanzas.Stanza
Stanza.UnkownStanzaTypeException
 
Constructor Summary
IQ(Element element)
           
 
Method Summary
static IQ create()
           
 Element getQuery()
          Return <query/> child element.
 
Methods inherited from class tigase.jaxmpp.core.client.xmpp.stanzas.Stanza
canBeConverted, create, getErrorCondition, getFrom, getId, getTo, getType, getType, setFrom, setId, setTo, setType
 
Methods inherited from class tigase.jaxmpp.core.client.xml.ElementWrapper
addChild, equals, getAsString, getAttribute, getAttributes, getChildAfter, getChildElementValue, getChildElementValue, getChildren, getChildren, getChildrenNS, getChildrenNS, getFirstChild, getFirstChild, getName, getNextSibling, getParent, getValue, getXMLNS, hashCode, removeAttribute, removeChild, setAttribute, setAttributes, setChildElementValue, setChildElementValue, setParent, setValue, setXMLNS
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IQ

public IQ(Element element)
   throws XMLException
Throws:
XMLException
Method Detail

create

public static final IQ create()
                       throws XMLException
Throws:
XMLException

getQuery

public Element getQuery()
                 throws XMLException
Return <query/> child element.

Returns:
null is <query/> doesn't exists
Throws:
XMLException


Copyright © 2006-2012 Tigase. All Rights Reserved.