org.jivesoftware.smack.packet
Class IQ.Type
java.lang.Object
   org.jivesoftware.smack.packet.IQ.Type
org.jivesoftware.smack.packet.IQ.Type
- Enclosing class:
- IQ
- public static class IQ.Type 
- extends Object
A class to represent the type of the IQ packet. The types are:
 
      - IQ.Type.GET
      
- IQ.Type.SET
      
- IQ.Type.RESULT
      
- IQ.Type.ERROR
 
 
 
 
GET
public static final IQ.Type GET
SET
public static final IQ.Type SET
RESULT
public static final IQ.Type RESULT
ERROR
public static final IQ.Type ERROR
fromString
public static IQ.Type fromString(String type)
- Converts a String into the corresponding types. Valid String values
 that can be converted to types are: "get", "set", "result", and "error".
 
- 
- Parameters:
- type- the String value to covert.
- Returns:
- the corresponding Type.
 
toString
public String toString()
- 
- Overrides:
- toStringin class- Object
 
- 
 
Copyright © 2003-2007 Jive Software.