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

org.xmpp.extensions.Section2 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.xmpp.extensions;

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.XmlElement;
import javax.xml.bind.annotation.XmlElements;
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">
 *         <element ref="{http://www.xmpp.org/extensions}code" maxOccurs="unbounded" minOccurs="0"/>
 *         <element ref="{http://www.xmpp.org/extensions}div" maxOccurs="unbounded" minOccurs="0"/>
 *         <element ref="{http://www.xmpp.org/extensions}dl" maxOccurs="unbounded" minOccurs="0"/>
 *         <element ref="{http://www.xmpp.org/extensions}example" maxOccurs="unbounded" minOccurs="0"/>
 *         <element ref="{http://www.xmpp.org/extensions}ol" maxOccurs="unbounded" minOccurs="0"/>
 *         <element ref="{http://www.xmpp.org/extensions}p" maxOccurs="unbounded" minOccurs="0"/>
 *         <element ref="{http://www.xmpp.org/extensions}section3" maxOccurs="unbounded" minOccurs="0"/>
 *         <element ref="{http://www.xmpp.org/extensions}table" maxOccurs="unbounded" minOccurs="0"/>
 *         <element ref="{http://www.xmpp.org/extensions}ul" maxOccurs="unbounded" minOccurs="0"/>
 *       </choice>
 *       <attribute name="topic" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
 *       <attribute name="anchor" type="{http://www.w3.org/2001/XMLSchema}string" />
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "codeOrDivOrDl" }) @XmlRootElement(name = "section2") public class Section2 { @XmlElements({ @XmlElement(name = "code", type = Code.class), @XmlElement(name = "div", type = Div.class), @XmlElement(name = "dl", type = Dl.class), @XmlElement(name = "example", type = Example.class), @XmlElement(name = "ol", type = Ol.class), @XmlElement(name = "p", type = Markup.class), @XmlElement(name = "section3", type = Section3 .class), @XmlElement(name = "table", type = Table.class), @XmlElement(name = "ul", type = Ul.class) }) protected List codeOrDivOrDl; @XmlAttribute(name = "topic", required = true) protected String topic; @XmlAttribute(name = "anchor") protected String anchor; /** * Gets the value of the codeOrDivOrDl 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 codeOrDivOrDl property. * *

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

     *    getCodeOrDivOrDl().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link Code } * {@link Div } * {@link Dl } * {@link Example } * {@link Ol } * {@link Markup } * {@link Section3 } * {@link Table } * {@link Ul } * * */ public List getCodeOrDivOrDl() { if (codeOrDivOrDl == null) { codeOrDivOrDl = new ArrayList(); } return this.codeOrDivOrDl; } /** * Gets the value of the topic property. * * @return * possible object is * {@link String } * */ public String getTopic() { return topic; } /** * Sets the value of the topic property. * * @param value * allowed object is * {@link String } * */ public void setTopic(String value) { this.topic = value; } /** * Gets the value of the anchor property. * * @return * possible object is * {@link String } * */ public String getAnchor() { return anchor; } /** * Sets the value of the anchor property. * * @param value * allowed object is * {@link String } * */ public void setAnchor(String value) { this.anchor = value; } }