Class Query

  extended by 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.

     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
         <element ref="{jabber:iq:roster}item" maxOccurs="unbounded" minOccurs="0"/>

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

Field Detail


protected List<Item> item
Constructor Detail


public Query()
Method Detail


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:


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

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