jabber.server
Class Iq

java.lang.Object
  extended by jabber.server.Iq

public class Iq
extends Object

Java class for anonymous complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType>
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <any namespace='##other' minOccurs="0"/>
         <element ref="{jabber:server}error" minOccurs="0"/>
       </sequence>
       <attribute name="from" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" />
       <attribute name="to" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="type" use="required">
         <simpleType>
           <restriction base="{http://www.w3.org/2001/XMLSchema}NCName">
             <enumeration value="error"/>
             <enumeration value="get"/>
             <enumeration value="result"/>
             <enumeration value="set"/>
           </restriction>
         </simpleType>
       </attribute>
       <attribute ref="{http://www.w3.org/XML/1998/namespace}lang"/>
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  Object any
           
protected  Error error
           
protected  String from
           
protected  String id
           
protected  String lang
           
protected  String to
           
protected  String type
           
 
Constructor Summary
Iq()
           
 
Method Summary
 Object getAny()
          Gets the value of the any property.
 Error getError()
          Gets the value of the error property.
 String getFrom()
          Gets the value of the from property.
 String getId()
          Gets the value of the id property.
 String getLang()
          Gets the value of the lang property.
 String getTo()
          Gets the value of the to property.
 String getType()
          Gets the value of the type property.
 void setAny(Object value)
          Sets the value of the any property.
 void setError(Error value)
          Sets the value of the error property.
 void setFrom(String value)
          Sets the value of the from property.
 void setId(String value)
          Sets the value of the id property.
 void setLang(String value)
          Sets the value of the lang property.
 void setTo(String value)
          Sets the value of the to property.
 void setType(String value)
          Sets the value of the type property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

any

protected Object any

error

protected Error error

from

protected String from

id

protected String id

to

protected String to

type

protected String type

lang

protected String lang
Constructor Detail

Iq

public Iq()
Method Detail

getAny

public Object getAny()
Gets the value of the any property.

Returns:
possible object is Object

setAny

public void setAny(Object value)
Sets the value of the any property.

Parameters:
value - allowed object is Object

getError

public Error getError()
Gets the value of the error property.

Returns:
possible object is Error

setError

public void setError(Error value)
Sets the value of the error property.

Parameters:
value - allowed object is Error

getFrom

public String getFrom()
Gets the value of the from property.

Returns:
possible object is String

setFrom

public void setFrom(String value)
Sets the value of the from property.

Parameters:
value - allowed object is String

getId

public String getId()
Gets the value of the id property.

Returns:
possible object is String

setId

public void setId(String value)
Sets the value of the id property.

Parameters:
value - allowed object is String

getTo

public String getTo()
Gets the value of the to property.

Returns:
possible object is String

setTo

public void setTo(String value)
Sets the value of the to property.

Parameters:
value - allowed object is String

getType

public String getType()
Gets the value of the type property.

Returns:
possible object is String

setType

public void setType(String value)
Sets the value of the type property.

Parameters:
value - allowed object is String

getLang

public String getLang()
Gets the value of the lang property.

Returns:
possible object is String

setLang

public void setLang(String value)
Sets the value of the lang property.

Parameters:
value - allowed object is String


Copyright © 2005-2013 The Apache Software Foundation. All Rights Reserved.