All Downloads are FREE. Search and download functionalities are using the official Maven repository.

xmpp.forward._0.Forwarded Maven / Gradle / Ivy

//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.3.0 
// See https://javaee.github.io/jaxb-v2/ 
// Any modifications to this file will be lost upon recompilation of the source schema. 
// Generated on: 2020.10.04 at 01:10:24 PM KST 
//


package xmpp.forward._0;

import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElementRef;
import javax.xml.bind.annotation.XmlElementRefs;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
import xmpp.delay.Delay;


/**
 * 

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="{urn:xmpp:delay}delay" minOccurs="0"/>
 *         <choice minOccurs="0">
 *           <choice>
 *             <element ref="{jabber:client}message"/>
 *             <element ref="{jabber:client}presence"/>
 *             <element ref="{jabber:client}iq"/>
 *           </choice>
 *           <choice>
 *             <element ref="{jabber:server}message"/>
 *             <element ref="{jabber:server}presence"/>
 *             <element ref="{jabber:server}iq"/>
 *           </choice>
 *         </choice>
 *       </sequence>
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "content" }) @XmlRootElement(name = "forwarded") public class Forwarded { @XmlElementRefs({ @XmlElementRef(name = "delay", namespace = "urn:xmpp:delay", type = Delay.class, required = false), @XmlElementRef(name = "message", namespace = "jabber:client", type = jabber.client.Message.class, required = false), @XmlElementRef(name = "presence", namespace = "jabber:client", type = jabber.client.Presence.class, required = false), @XmlElementRef(name = "iq", namespace = "jabber:client", type = jabber.client.Iq.class, required = false), @XmlElementRef(name = "message", namespace = "jabber:server", type = jabber.server.Message.class, required = false), @XmlElementRef(name = "presence", namespace = "jabber:server", type = jabber.server.Presence.class, required = false), @XmlElementRef(name = "iq", namespace = "jabber:server", type = jabber.server.Iq.class, required = false) }) protected List content; /** * Gets the rest of the content model. * *

* You are getting this "catch-all" property because of the following reason: * The field name "Message" is used by two different parts of a schema. See: * line 42 of file:/C:/Users/onacit/gitcl/github.com/jinahya/xmpp-extensions-bind/src/main/xsd/xep-0297-urn_xmpp_forward_0.xsd * line 37 of file:/C:/Users/onacit/gitcl/github.com/jinahya/xmpp-extensions-bind/src/main/xsd/xep-0297-urn_xmpp_forward_0.xsd *

* To get rid of this property, apply a property customization to one * of both of the following declarations to change their names: * Gets the value of the content 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 content property. * *

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

     *    getContent().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link Delay } * {@link jabber.client.Message } * {@link jabber.client.Presence } * {@link jabber.client.Iq } * {@link jabber.server.Message } * {@link jabber.server.Presence } * {@link jabber.server.Iq } * * */ public List getContent() { if (content == null) { content = new ArrayList(); } return this.content; } }