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

xmpp.jingle._1.Jingle 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.jingle._1;

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.XmlAnyElement;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;


/**
 * 

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 name="content" type="{urn:xmpp:jingle:1}contentElementType" maxOccurs="unbounded" minOccurs="0"/>
 *         <element name="reason" type="{urn:xmpp:jingle:1}reasonElementType" minOccurs="0"/>
 *         <any namespace='##other' maxOccurs="unbounded" minOccurs="0"/>
 *       </sequence>
 *       <attribute name="action" use="required">
 *         <simpleType>
 *           <restriction base="{http://www.w3.org/2001/XMLSchema}NCName">
 *             <enumeration value="content-accept"/>
 *             <enumeration value="content-add"/>
 *             <enumeration value="content-modify"/>
 *             <enumeration value="content-reject"/>
 *             <enumeration value="content-remove"/>
 *             <enumeration value="description-info"/>
 *             <enumeration value="security-info"/>
 *             <enumeration value="session-accept"/>
 *             <enumeration value="session-info"/>
 *             <enumeration value="session-initiate"/>
 *             <enumeration value="session-terminate"/>
 *             <enumeration value="transport-accept"/>
 *             <enumeration value="transport-info"/>
 *             <enumeration value="transport-reject"/>
 *             <enumeration value="transport-replace"/>
 *           </restriction>
 *         </simpleType>
 *       </attribute>
 *       <attribute name="initiator" type="{http://www.w3.org/2001/XMLSchema}string" />
 *       <attribute name="responder" type="{http://www.w3.org/2001/XMLSchema}string" />
 *       <attribute name="sid" use="required" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" />
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "content", "reason", "any" }) @XmlRootElement(name = "jingle") public class Jingle { protected List content; protected ReasonElementType reason; @XmlAnyElement(lax = true) protected List any; @XmlAttribute(name = "action", required = true) @XmlJavaTypeAdapter(CollapsedStringAdapter.class) protected String action; @XmlAttribute(name = "initiator") protected String initiator; @XmlAttribute(name = "responder") protected String responder; @XmlAttribute(name = "sid", required = true) @XmlJavaTypeAdapter(CollapsedStringAdapter.class) @XmlSchemaType(name = "NMTOKEN") protected String sid; /** * 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 ContentElementType } * * */ public List getContent() { if (content == null) { content = new ArrayList(); } return this.content; } /** * Gets the value of the reason property. * * @return * possible object is * {@link ReasonElementType } * */ public ReasonElementType getReason() { return reason; } /** * Sets the value of the reason property. * * @param value * allowed object is * {@link ReasonElementType } * */ public void setReason(ReasonElementType value) { this.reason = value; } /** * Gets the value of the any 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 any property. * *

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

     *    getAny().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link Object } * * */ public List getAny() { if (any == null) { any = new ArrayList(); } return this.any; } /** * Gets the value of the action property. * * @return * possible object is * {@link String } * */ public String getAction() { return action; } /** * Sets the value of the action property. * * @param value * allowed object is * {@link String } * */ public void setAction(String value) { this.action = value; } /** * Gets the value of the initiator property. * * @return * possible object is * {@link String } * */ public String getInitiator() { return initiator; } /** * Sets the value of the initiator property. * * @param value * allowed object is * {@link String } * */ public void setInitiator(String value) { this.initiator = value; } /** * Gets the value of the responder property. * * @return * possible object is * {@link String } * */ public String getResponder() { return responder; } /** * Sets the value of the responder property. * * @param value * allowed object is * {@link String } * */ public void setResponder(String value) { this.responder = value; } /** * Gets the value of the sid property. * * @return * possible object is * {@link String } * */ public String getSid() { return sid; } /** * Sets the value of the sid property. * * @param value * allowed object is * {@link String } * */ public void setSid(String value) { this.sid = value; } }