001 // 002 // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 003 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 004 // Any modifications to this file will be lost upon recompilation of the source schema. 005 // Generated on: 2011.11.18 at 02:23:57 PM EST 006 // 007 008 009 package org.jabber.protocol.muc_user; 010 011 import java.util.ArrayList; 012 import java.util.List; 013 import javax.xml.bind.annotation.XmlAccessType; 014 import javax.xml.bind.annotation.XmlAccessorType; 015 import javax.xml.bind.annotation.XmlElement; 016 import javax.xml.bind.annotation.XmlElements; 017 import javax.xml.bind.annotation.XmlRootElement; 018 import javax.xml.bind.annotation.XmlType; 019 020 021 /** 022 * <p>Java class for anonymous complex type. 023 * 024 * <p>The following schema fragment specifies the expected content contained within this class. 025 * 026 * <pre> 027 * <complexType> 028 * <complexContent> 029 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 030 * <choice maxOccurs="unbounded" minOccurs="0"> 031 * <element ref="{http://jabber.org/protocol/muc#user}decline" minOccurs="0"/> 032 * <element ref="{http://jabber.org/protocol/muc#user}destroy" minOccurs="0"/> 033 * <element ref="{http://jabber.org/protocol/muc#user}invite" maxOccurs="unbounded" minOccurs="0"/> 034 * <element ref="{http://jabber.org/protocol/muc#user}item" minOccurs="0"/> 035 * <element name="password" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> 036 * <element ref="{http://jabber.org/protocol/muc#user}status" minOccurs="0"/> 037 * </choice> 038 * </restriction> 039 * </complexContent> 040 * </complexType> 041 * </pre> 042 * 043 * 044 */ 045 @XmlAccessorType(XmlAccessType.FIELD) 046 @XmlType(name = "", propOrder = { 047 "declineOrDestroyOrInvite" 048 }) 049 @XmlRootElement(name = "x") 050 public class X { 051 052 @XmlElements({ 053 @XmlElement(name = "password", type = String.class), 054 @XmlElement(name = "invite", type = Invite.class), 055 @XmlElement(name = "item", type = Item.class), 056 @XmlElement(name = "status", type = Status.class), 057 @XmlElement(name = "decline", type = Decline.class), 058 @XmlElement(name = "destroy", type = Destroy.class) 059 }) 060 protected List<Object> declineOrDestroyOrInvite; 061 062 /** 063 * Gets the value of the declineOrDestroyOrInvite property. 064 * 065 * <p> 066 * This accessor method returns a reference to the live list, 067 * not a snapshot. Therefore any modification you make to the 068 * returned list will be present inside the JAXB object. 069 * This is why there is not a <CODE>set</CODE> method for the declineOrDestroyOrInvite property. 070 * 071 * <p> 072 * For example, to add a new item, do as follows: 073 * <pre> 074 * getDeclineOrDestroyOrInvite().add(newItem); 075 * </pre> 076 * 077 * 078 * <p> 079 * Objects of the following type(s) are allowed in the list 080 * {@link String } 081 * {@link Invite } 082 * {@link Item } 083 * {@link Status } 084 * {@link Decline } 085 * {@link Destroy } 086 * 087 * 088 */ 089 public List<Object> getDeclineOrDestroyOrInvite() { 090 if (declineOrDestroyOrInvite == null) { 091 declineOrDestroyOrInvite = new ArrayList<Object>(); 092 } 093 return this.declineOrDestroyOrInvite; 094 } 095 096 }