org.jabber.protocol.rosterx
Class X

java.lang.Object
  extended by org.jabber.protocol.rosterx.X

public class X
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="{http://jabber.org/protocol/rosterx}item" maxOccurs="unbounded"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  List<Item> item
           
 
Constructor Summary
X()
           
 
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

item

protected List<Item> item
Constructor Detail

X

public X()
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



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