com.caucho.xmpp.disco
Class DiscoInfoQuery

java.lang.Object
  extended by com.caucho.xmpp.disco.DiscoInfoQuery
All Implemented Interfaces:
java.io.Serializable

public class DiscoInfoQuery
extends java.lang.Object
implements java.io.Serializable

service discovery query XEP-0030: http://www.xmpp.org/extensions/xep-0030.html

 namespace = http://jabber.org/protocol/disco#info

 element query {
   attribute node?,
   identity*,
   feature*
 }

 element identity {
    attribute category,
    attribute name?,
    attribute type
 }

 element feature {
    attribute var
 }
 
Well known nodes:

See Also:
Serialized Form

Field Summary
static java.lang.String FEATURE
           
 
Constructor Summary
DiscoInfoQuery()
           
DiscoInfoQuery(DiscoIdentity[] identity, DiscoFeature[] features)
           
DiscoInfoQuery(java.lang.String node)
           
DiscoInfoQuery(java.lang.String node, DiscoIdentity[] identity, DiscoFeature[] features)
           
 
Method Summary
 DiscoFeature[] getFeature()
           
 DiscoIdentity[] getIdentity()
           
 java.lang.String getNode()
           
 void setFeature(DiscoFeature[] feature)
           
 void setFeatureList(java.util.ArrayList<DiscoFeature> featureList)
           
 void setIdentity(DiscoIdentity[] identity)
           
 void setIdentityList(java.util.ArrayList<DiscoIdentity> identityList)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

FEATURE

public static final java.lang.String FEATURE
See Also:
Constant Field Values
Constructor Detail

DiscoInfoQuery

public DiscoInfoQuery()

DiscoInfoQuery

public DiscoInfoQuery(java.lang.String node)

DiscoInfoQuery

public DiscoInfoQuery(DiscoIdentity[] identity,
                      DiscoFeature[] features)

DiscoInfoQuery

public DiscoInfoQuery(java.lang.String node,
                      DiscoIdentity[] identity,
                      DiscoFeature[] features)
Method Detail

getNode

public java.lang.String getNode()

getFeature

public DiscoFeature[] getFeature()

setFeature

public void setFeature(DiscoFeature[] feature)

setFeatureList

public void setFeatureList(java.util.ArrayList<DiscoFeature> featureList)

getIdentity

public DiscoIdentity[] getIdentity()

setIdentity

public void setIdentity(DiscoIdentity[] identity)

setIdentityList

public void setIdentityList(java.util.ArrayList<DiscoIdentity> identityList)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object