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

xmpp.jingle.transports.ibb._1.Transport 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.transports.ibb._1;

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.XmlType;
import javax.xml.bind.annotation.XmlValue;
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>
 *   <simpleContent>
 *     <extension base="<urn:xmpp:jingle:transports:ibb:1>empty">
 *       <attribute name="block-size" use="required" type="{http://www.w3.org/2001/XMLSchema}short" />
 *       <attribute name="sid" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
 *       <attribute name="stanza" default="iq">
 *         <simpleType>
 *           <restriction base="{http://www.w3.org/2001/XMLSchema}NCName">
 *             <enumeration value="iq"/>
 *             <enumeration value="message"/>
 *           </restriction>
 *         </simpleType>
 *       </attribute>
 *     </extension>
 *   </simpleContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "value" }) @XmlRootElement(name = "transport") public class Transport { @XmlValue protected String value; @XmlAttribute(name = "block-size", required = true) protected short blockSize; @XmlAttribute(name = "sid", required = true) protected String sid; @XmlAttribute(name = "stanza") @XmlJavaTypeAdapter(CollapsedStringAdapter.class) protected String stanza; /** * Gets the value of the value property. * * @return * possible object is * {@link String } * */ public String getValue() { return value; } /** * Sets the value of the value property. * * @param value * allowed object is * {@link String } * */ public void setValue(String value) { this.value = value; } /** * Gets the value of the blockSize property. * */ public short getBlockSize() { return blockSize; } /** * Sets the value of the blockSize property. * */ public void setBlockSize(short value) { this.blockSize = 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; } /** * Gets the value of the stanza property. * * @return * possible object is * {@link String } * */ public String getStanza() { if (stanza == null) { return "iq"; } else { return stanza; } } /** * Sets the value of the stanza property. * * @param value * allowed object is * {@link String } * */ public void setStanza(String value) { this.stanza = value; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy