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

xmpp.jingle.apps.rtp.rtp_hdrext._0.RtpHdrext 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.apps.rtp.rtp_hdrext._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.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="parameter" type="{urn:xmpp:jingle:apps:rtp:rtp-hdrext:0}parameterElementType" maxOccurs="unbounded" minOccurs="0"/>
 *       </sequence>
 *       <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" />
 *       <attribute name="uri" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
 *       <attribute name="senders" default="both">
 *         <simpleType>
 *           <restriction base="{http://www.w3.org/2001/XMLSchema}NCName">
 *             <enumeration value="both"/>
 *             <enumeration value="initiator"/>
 *             <enumeration value="none"/>
 *             <enumeration value="responder"/>
 *           </restriction>
 *         </simpleType>
 *       </attribute>
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "parameter" }) @XmlRootElement(name = "rtp-hdrext") public class RtpHdrext { protected List parameter; @XmlAttribute(name = "id", required = true) @XmlSchemaType(name = "unsignedInt") protected long id; @XmlAttribute(name = "uri", required = true) protected String uri; @XmlAttribute(name = "senders") @XmlJavaTypeAdapter(CollapsedStringAdapter.class) protected String senders; /** * Gets the value of the parameter 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 parameter property. * *

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

     *    getParameter().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link ParameterElementType } * * */ public List getParameter() { if (parameter == null) { parameter = new ArrayList(); } return this.parameter; } /** * Gets the value of the id property. * */ public long getId() { return id; } /** * Sets the value of the id property. * */ public void setId(long value) { this.id = value; } /** * Gets the value of the uri property. * * @return * possible object is * {@link String } * */ public String getUri() { return uri; } /** * Sets the value of the uri property. * * @param value * allowed object is * {@link String } * */ public void setUri(String value) { this.uri = value; } /** * Gets the value of the senders property. * * @return * possible object is * {@link String } * */ public String getSenders() { if (senders == null) { return "both"; } else { return senders; } } /** * Sets the value of the senders property. * * @param value * allowed object is * {@link String } * */ public void setSenders(String value) { this.senders = value; } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy