FallbackType.java

  1. //
  2. // This file was generated by the Eclipse Implementation of JAXB, v2.3.6
  3. // See https://eclipse-ee4j.github.io/jaxb-ri
  4. // Any modifications to this file will be lost upon recompilation of the source schema.
  5. // Generated on: 2024.05.19 at 12:55:27 AM CEST
  6. //


  7. package org.opentrafficsim.xml.generated;

  8. import java.io.Serializable;
  9. import java.util.ArrayList;
  10. import java.util.HashMap;
  11. import java.util.List;
  12. import java.util.Map;
  13. import javax.annotation.Generated;
  14. import javax.xml.bind.JAXBElement;
  15. import javax.xml.bind.annotation.XmlAccessType;
  16. import javax.xml.bind.annotation.XmlAccessorType;
  17. import javax.xml.bind.annotation.XmlAnyAttribute;
  18. import javax.xml.bind.annotation.XmlAnyElement;
  19. import javax.xml.bind.annotation.XmlElementRef;
  20. import javax.xml.bind.annotation.XmlMixed;
  21. import javax.xml.bind.annotation.XmlType;
  22. import javax.xml.namespace.QName;
  23. import org.w3c.dom.Element;


  24. /**
  25.  * <p>Java class for fallbackType complex type.
  26.  *
  27.  * <p>The following schema fragment specifies the expected content contained within this class.
  28.  *
  29.  * <pre>
  30.  * &lt;complexType name="fallbackType"&gt;
  31.  *   &lt;complexContent&gt;
  32.  *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
  33.  *       &lt;choice maxOccurs="unbounded" minOccurs="0"&gt;
  34.  *         &lt;element ref="{http://www.w3.org/2001/XInclude}include"/&gt;
  35.  *         &lt;any processContents='lax' namespace='##other'/&gt;
  36.  *         &lt;any processContents='lax' namespace=''/&gt;
  37.  *       &lt;/choice&gt;
  38.  *       &lt;anyAttribute processContents='lax' namespace='##other'/&gt;
  39.  *     &lt;/restriction&gt;
  40.  *   &lt;/complexContent&gt;
  41.  * &lt;/complexType&gt;
  42.  * </pre>
  43.  *
  44.  *
  45.  */
  46. @XmlAccessorType(XmlAccessType.FIELD)
  47. @XmlType(name = "fallbackType", namespace = "http://www.w3.org/2001/XInclude", propOrder = {
  48.     "content"
  49. })
  50. @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.6", date = "2024-05-19T00:55:27+02:00")
  51. public class FallbackType
  52.     implements Serializable
  53. {

  54.     @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.6", date = "2024-05-19T00:55:27+02:00")
  55.     private final static long serialVersionUID = 10102L;
  56.     @XmlElementRef(name = "include", namespace = "http://www.w3.org/2001/XInclude", type = JAXBElement.class, required = false)
  57.     @XmlMixed
  58.     @XmlAnyElement(lax = true)
  59.     @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.6", date = "2024-05-19T00:55:27+02:00")
  60.     protected List<Object> content;
  61.     @XmlAnyAttribute
  62.     @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.6", date = "2024-05-19T00:55:27+02:00")
  63.     private Map<QName, String> otherAttributes = new HashMap<QName, String>();

  64.     /**
  65.      * Gets the value of the content property.
  66.      *
  67.      * <p>
  68.      * This accessor method returns a reference to the live list,
  69.      * not a snapshot. Therefore any modification you make to the
  70.      * returned list will be present inside the JAXB object.
  71.      * This is why there is not a <CODE>set</CODE> method for the content property.
  72.      *
  73.      * <p>
  74.      * For example, to add a new item, do as follows:
  75.      * <pre>
  76.      *    getContent().add(newItem);
  77.      * </pre>
  78.      *
  79.      *
  80.      * <p>
  81.      * Objects of the following type(s) are allowed in the list
  82.      * {@link Object }
  83.      * {@link String }
  84.      * {@link JAXBElement }{@code <}{@link IncludeType }{@code >}
  85.      * {@link Element }
  86.      *
  87.      *
  88.      */
  89.     @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.6", date = "2024-05-19T00:55:27+02:00")
  90.     public List<Object> getContent() {
  91.         if (content == null) {
  92.             content = new ArrayList<Object>();
  93.         }
  94.         return this.content;
  95.     }

  96.     /**
  97.      * Gets a map that contains attributes that aren't bound to any typed property on this class.
  98.      *
  99.      * <p>
  100.      * the map is keyed by the name of the attribute and
  101.      * the value is the string value of the attribute.
  102.      *
  103.      * the map returned by this method is live, and you can add new attribute
  104.      * by updating the map directly. Because of this design, there's no setter.
  105.      *
  106.      *
  107.      * @return
  108.      *     always non-null
  109.      */
  110.     @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.6", date = "2024-05-19T00:55:27+02:00")
  111.     public Map<QName, String> getOtherAttributes() {
  112.         return otherAttributes;
  113.     }

  114. }