Syntaxes.java

  1. //
  2. // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11
  3. // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
  4. // Any modifications to this file will be lost upon recompilation of the source schema.
  5. // Generated on: 2016.10.23 at 07:13:20 AM UTC
  6. //


  7. package org.exoplatform.wiki.service.rest.model;

  8. import java.util.ArrayList;
  9. import java.util.List;
  10. import javax.xml.bind.annotation.XmlAccessType;
  11. import javax.xml.bind.annotation.XmlAccessorType;
  12. import javax.xml.bind.annotation.XmlElement;
  13. import javax.xml.bind.annotation.XmlRootElement;
  14. import javax.xml.bind.annotation.XmlType;


  15. /**
  16.  * <p>Java class for Syntaxes complex type.
  17.  *
  18.  * <p>The following schema fragment specifies the expected content contained within this class.
  19.  *
  20.  * <pre>
  21.  * &lt;complexType name="Syntaxes"&gt;
  22.  *   &lt;complexContent&gt;
  23.  *     &lt;extension base="{http://www.xwiki.org}LinkCollection"&gt;
  24.  *       &lt;sequence&gt;
  25.  *         &lt;element name="syntax" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/&gt;
  26.  *       &lt;/sequence&gt;
  27.  *     &lt;/extension&gt;
  28.  *   &lt;/complexContent&gt;
  29.  * &lt;/complexType&gt;
  30.  * </pre>
  31.  *
  32.  *
  33.  */
  34. @XmlAccessorType(XmlAccessType.FIELD)
  35. @XmlType(name = "Syntaxes", propOrder = {
  36.     "syntaxes"
  37. })
  38. @XmlRootElement(name = "syntaxes")
  39. public class Syntaxes
  40.     extends LinkCollection
  41. {

  42.     @XmlElement(name = "syntax")
  43.     protected List<String> syntaxes;

  44.     /**
  45.      * Gets the value of the syntaxes property.
  46.      *
  47.      * <p>
  48.      * This accessor method returns a reference to the live list,
  49.      * not a snapshot. Therefore any modification you make to the
  50.      * returned list will be present inside the JAXB object.
  51.      * This is why there is not a <CODE>set</CODE> method for the syntaxes property.
  52.      *
  53.      * <p>
  54.      * For example, to add a new item, do as follows:
  55.      * <pre>
  56.      *    getSyntaxes().add(newItem);
  57.      * </pre>
  58.      *
  59.      *
  60.      * <p>
  61.      * Objects of the following type(s) are allowed in the list
  62.      * {@link String }
  63.      *
  64.      *
  65.      */
  66.     public List<String> getSyntaxes() {
  67.         if (syntaxes == null) {
  68.             syntaxes = new ArrayList<String>();
  69.         }
  70.         return this.syntaxes;
  71.     }

  72. }