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

org.jabber.protocol.xdata_layout.Page 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 org.jabber.protocol.xdata_layout;

import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.JAXBElement;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElementRef;
import javax.xml.bind.annotation.XmlElementRefs;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;


/**
 * 

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">
 *       <choice maxOccurs="unbounded" minOccurs="0">
 *         <element ref="{http://jabber.org/protocol/xdata-layout}text" maxOccurs="unbounded" minOccurs="0"/>
 *         <element ref="{http://jabber.org/protocol/xdata-layout}section" maxOccurs="unbounded" minOccurs="0"/>
 *         <element ref="{http://jabber.org/protocol/xdata-layout}fieldref" maxOccurs="unbounded" minOccurs="0"/>
 *         <element ref="{http://jabber.org/protocol/xdata-layout}reportedref" maxOccurs="unbounded" minOccurs="0"/>
 *       </choice>
 *       <attribute name="label" type="{http://www.w3.org/2001/XMLSchema}string" />
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "textOrSectionOrFieldref" }) @XmlRootElement(name = "page") public class Page { @XmlElementRefs({ @XmlElementRef(name = "text", namespace = "http://jabber.org/protocol/xdata-layout", type = JAXBElement.class, required = false), @XmlElementRef(name = "section", namespace = "http://jabber.org/protocol/xdata-layout", type = Section.class, required = false), @XmlElementRef(name = "fieldref", namespace = "http://jabber.org/protocol/xdata-layout", type = Fieldref.class, required = false), @XmlElementRef(name = "reportedref", namespace = "http://jabber.org/protocol/xdata-layout", type = JAXBElement.class, required = false) }) protected List textOrSectionOrFieldref; @XmlAttribute(name = "label") protected String label; /** * Gets the value of the textOrSectionOrFieldref 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 textOrSectionOrFieldref property. * *

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

     *    getTextOrSectionOrFieldref().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link JAXBElement }{@code <}{@link String }{@code >} * {@link Section } * {@link Fieldref } * {@link JAXBElement }{@code <}{@link String }{@code >} * * */ public List getTextOrSectionOrFieldref() { if (textOrSectionOrFieldref == null) { textOrSectionOrFieldref = new ArrayList(); } return this.textOrSectionOrFieldref; } /** * Gets the value of the label property. * * @return * possible object is * {@link String } * */ public String getLabel() { return label; } /** * Sets the value of the label property. * * @param value * allowed object is * {@link String } * */ public void setLabel(String value) { this.label = value; } }