org.jabber.protocol.disco_items
Class Query

java.lang.Object
  extended by org.jabber.protocol.disco_items.Query

public class Query
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 minOccurs="0">
         <element ref="{http://jabber.org/protocol/disco#items}item" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
       <attribute name="node" type="{http://www.w3.org/2001/XMLSchema}string" />
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  List<Item> item
           
protected  String node
           
 
Constructor Summary
Query()
           
 
Method Summary
 List<Item> getItem()
          Gets the value of the item property.
 String getNode()
          Gets the value of the node property.
 void setNode(String value)
          Sets the value of the node property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

item

protected List<Item> item

node

protected String node
Constructor Detail

Query

public Query()
Method Detail

getItem

public List<Item> getItem()
Gets the value of the item property.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the item property.

For example, to add a new item, do as follows:

    getItem().add(newItem);
 

Objects of the following type(s) are allowed in the list Item


getNode

public String getNode()
Gets the value of the node property.

Returns:
possible object is String

setNode

public void setNode(String value)
Sets the value of the node property.

Parameters:
value - allowed object is String


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