]> gerrit.simantics Code Review - simantics/interop.git/blob - org.simantics.xml.sax/src/org/w3/_2001/xmlschema/Documentation.java
XML Schema converter
[simantics/interop.git] / org.simantics.xml.sax / src / org / w3 / _2001 / xmlschema / Documentation.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;attribute ref="{http://www.w3.org/XML/1998/namespace}lang"/>\r
42  *       &lt;anyAttribute processContents='lax' namespace='##other'/>\r
43  *     &lt;/restriction>\r
44  *   &lt;/complexContent>\r
45  * &lt;/complexType>\r
46  * </pre>\r
47  * \r
48  * \r
49  */\r
50 @XmlAccessorType(XmlAccessType.FIELD)\r
51 @XmlType(name = "", propOrder = {\r
52     "content"\r
53 })\r
54 @XmlRootElement(name = "documentation")\r
55 public class Documentation {\r
56 \r
57     @XmlMixed\r
58     @XmlAnyElement(lax = true)\r
59     protected List<Object> content;\r
60     @XmlAttribute(name = "source")\r
61     @XmlSchemaType(name = "anyURI")\r
62     protected String source;\r
63     @XmlAttribute(name = "lang", namespace = "http://www.w3.org/XML/1998/namespace")\r
64     protected String lang;\r
65     @XmlAnyAttribute\r
66     private Map<QName, String> otherAttributes = new HashMap<QName, String>();\r
67 \r
68     /**\r
69      * Gets the value of the content property.\r
70      * \r
71      * <p>\r
72      * This accessor method returns a reference to the live list,\r
73      * not a snapshot. Therefore any modification you make to the\r
74      * returned list will be present inside the JAXB object.\r
75      * This is why there is not a <CODE>set</CODE> method for the content property.\r
76      * \r
77      * <p>\r
78      * For example, to add a new item, do as follows:\r
79      * <pre>\r
80      *    getContent().add(newItem);\r
81      * </pre>\r
82      * \r
83      * \r
84      * <p>\r
85      * Objects of the following type(s) are allowed in the list\r
86      * {@link Object }\r
87      * {@link String }\r
88      * {@link Element }\r
89      * \r
90      * \r
91      */\r
92     public List<Object> getContent() {\r
93         if (content == null) {\r
94             content = new ArrayList<Object>();\r
95         }\r
96         return this.content;\r
97     }\r
98 \r
99     /**\r
100      * Gets the value of the source property.\r
101      * \r
102      * @return\r
103      *     possible object is\r
104      *     {@link String }\r
105      *     \r
106      */\r
107     public String getSource() {\r
108         return source;\r
109     }\r
110 \r
111     /**\r
112      * Sets the value of the source property.\r
113      * \r
114      * @param value\r
115      *     allowed object is\r
116      *     {@link String }\r
117      *     \r
118      */\r
119     public void setSource(String value) {\r
120         this.source = value;\r
121     }\r
122 \r
123     /**\r
124      * Gets the value of the lang property.\r
125      * \r
126      * @return\r
127      *     possible object is\r
128      *     {@link String }\r
129      *     \r
130      */\r
131     public String getLang() {\r
132         return lang;\r
133     }\r
134 \r
135     /**\r
136      * Sets the value of the lang property.\r
137      * \r
138      * @param value\r
139      *     allowed object is\r
140      *     {@link String }\r
141      *     \r
142      */\r
143     public void setLang(String value) {\r
144         this.lang = value;\r
145     }\r
146 \r
147     /**\r
148      * Gets a map that contains attributes that aren't bound to any typed property on this class.\r
149      * \r
150      * <p>\r
151      * the map is keyed by the name of the attribute and \r
152      * the value is the string value of the attribute.\r
153      * \r
154      * the map returned by this method is live, and you can add new attribute\r
155      * by updating the map directly. Because of this design, there's no setter.\r
156      * \r
157      * \r
158      * @return\r
159      *     always non-null\r
160      */\r
161     public Map<QName, String> getOtherAttributes() {\r
162         return otherAttributes;\r
163     }\r
164 \r
165 }\r