jabber.iq.roster
Class Query
java.lang.Object
jabber.iq.roster.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>
<element ref="{jabber:iq:roster}item" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
Constructor Summary |
Query()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
item
protected List<Item> item
Query
public Query()
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
Copyright © 2011 Apache Software Foundation. All Rights Reserved.