]> gerrit.simantics Code Review - simantics/interop.git/blob - org.simantics.xml.sax/src/org/w3/_2001/xmlschema/Appinfo.java
XML Schema converter
[simantics/interop.git] / org.simantics.xml.sax / src / org / w3 / _2001 / xmlschema / Appinfo.java
1 //\r
2 // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4-2 \r
3 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> \r
4 // Any modifications to this file will be lost upon recompilation of the source schema. \r
5 // Generated on: 2015.06.17 at 02:58:58 PM EEST \r
6 //\r
7 \r
8 \r
9 package org.w3._2001.xmlschema;\r
10 \r
11 import java.util.ArrayList;\r
12 import java.util.HashMap;\r
13 import java.util.List;\r
14 import java.util.Map;\r
15 import javax.xml.bind.annotation.XmlAccessType;\r
16 import javax.xml.bind.annotation.XmlAccessorType;\r
17 import javax.xml.bind.annotation.XmlAnyAttribute;\r
18 import javax.xml.bind.annotation.XmlAnyElement;\r
19 import javax.xml.bind.annotation.XmlAttribute;\r
20 import javax.xml.bind.annotation.XmlMixed;\r
21 import javax.xml.bind.annotation.XmlRootElement;\r
22 import javax.xml.bind.annotation.XmlSchemaType;\r
23 import javax.xml.bind.annotation.XmlType;\r
24 import javax.xml.namespace.QName;\r
25 import org.w3c.dom.Element;\r
26 \r
27 \r
28 /**\r
29  * <p>Java class for anonymous complex type.\r
30  * \r
31  * <p>The following schema fragment specifies the expected content contained within this class.\r
32  * \r
33  * <pre>\r
34  * &lt;complexType>\r
35  *   &lt;complexContent>\r
36  *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">\r
37  *       &lt;sequence maxOccurs="unbounded" minOccurs="0">\r
38  *         &lt;any processContents='lax'/>\r
39  *       &lt;/sequence>\r
40  *       &lt;attribute name="source" type="{http://www.w3.org/2001/XMLSchema}anyURI" />\r
41  *       &lt;anyAttribute processContents='lax' namespace='##other'/>\r
42  *     &lt;/restriction>\r
43  *   &lt;/complexContent>\r
44  * &lt;/complexType>\r
45  * </pre>\r
46  * \r
47  * \r
48  */\r
49 @XmlAccessorType(XmlAccessType.FIELD)\r
50 @XmlType(name = "", propOrder = {\r
51     "content"\r
52 })\r
53 @XmlRootElement(name = "appinfo")\r
54 public class Appinfo {\r
55 \r
56     @XmlMixed\r
57     @XmlAnyElement(lax = true)\r
58     protected List<Object> content;\r
59     @XmlAttribute(name = "source")\r
60     @XmlSchemaType(name = "anyURI")\r
61     protected String source;\r
62     @XmlAnyAttribute\r
63     private Map<QName, String> otherAttributes = new HashMap<QName, String>();\r
64 \r
65     /**\r
66      * Gets the value of the content property.\r
67      * \r
68      * <p>\r
69      * This accessor method returns a reference to the live list,\r
70      * not a snapshot. Therefore any modification you make to the\r
71      * returned list will be present inside the JAXB object.\r
72      * This is why there is not a <CODE>set</CODE> method for the content property.\r
73      * \r
74      * <p>\r
75      * For example, to add a new item, do as follows:\r
76      * <pre>\r
77      *    getContent().add(newItem);\r
78      * </pre>\r
79      * \r
80      * \r
81      * <p>\r
82      * Objects of the following type(s) are allowed in the list\r
83      * {@link Object }\r
84      * {@link String }\r
85      * {@link Element }\r
86      * \r
87      * \r
88      */\r
89     public List<Object> getContent() {\r
90         if (content == null) {\r
91             content = new ArrayList<Object>();\r
92         }\r
93         return this.content;\r
94     }\r
95 \r
96     /**\r
97      * Gets the value of the source property.\r
98      * \r
99      * @return\r
100      *     possible object is\r
101      *     {@link String }\r
102      *     \r
103      */\r
104     public String getSource() {\r
105         return source;\r
106     }\r
107 \r
108     /**\r
109      * Sets the value of the source property.\r
110      * \r
111      * @param value\r
112      *     allowed object is\r
113      *     {@link String }\r
114      *     \r
115      */\r
116     public void setSource(String value) {\r
117         this.source = value;\r
118     }\r
119 \r
120     /**\r
121      * Gets a map that contains attributes that aren't bound to any typed property on this class.\r
122      * \r
123      * <p>\r
124      * the map is keyed by the name of the attribute and \r
125      * the value is the string value of the attribute.\r
126      * \r
127      * the map returned by this method is live, and you can add new attribute\r
128      * by updating the map directly. Because of this design, there's no setter.\r
129      * \r
130      * \r
131      * @return\r
132      *     always non-null\r
133      */\r
134     public Map<QName, String> getOtherAttributes() {\r
135         return otherAttributes;\r
136     }\r
137 \r
138 }\r