]> gerrit.simantics Code Review - simantics/interop.git/blob - org.simantics.xml.sax/src/org/w3/_2001/xmlschema/Wildcard.java
XML Schema converter
[simantics/interop.git] / org.simantics.xml.sax / src / org / w3 / _2001 / xmlschema / Wildcard.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.List;\r
13 import javax.xml.bind.annotation.XmlAccessType;\r
14 import javax.xml.bind.annotation.XmlAccessorType;\r
15 import javax.xml.bind.annotation.XmlAttribute;\r
16 import javax.xml.bind.annotation.XmlSchemaType;\r
17 import javax.xml.bind.annotation.XmlSeeAlso;\r
18 import javax.xml.bind.annotation.XmlType;\r
19 import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;\r
20 import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;\r
21 \r
22 \r
23 /**\r
24  * <p>Java class for wildcard complex type.\r
25  * \r
26  * <p>The following schema fragment specifies the expected content contained within this class.\r
27  * \r
28  * <pre>\r
29  * &lt;complexType name="wildcard">\r
30  *   &lt;complexContent>\r
31  *     &lt;extension base="{http://www.w3.org/2001/XMLSchema}annotated">\r
32  *       &lt;attribute name="namespace" type="{http://www.w3.org/2001/XMLSchema}namespaceList" default="##any" />\r
33  *       &lt;attribute name="processContents" default="strict">\r
34  *         &lt;simpleType>\r
35  *           &lt;restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN">\r
36  *             &lt;enumeration value="skip"/>\r
37  *             &lt;enumeration value="lax"/>\r
38  *             &lt;enumeration value="strict"/>\r
39  *           &lt;/restriction>\r
40  *         &lt;/simpleType>\r
41  *       &lt;/attribute>\r
42  *       &lt;anyAttribute processContents='lax' namespace='##other'/>\r
43  *     &lt;/extension>\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 = "wildcard")\r
52 @XmlSeeAlso({\r
53     Any.class\r
54 })\r
55 public class Wildcard\r
56     extends Annotated\r
57 {\r
58 \r
59     @XmlAttribute(name = "namespace")\r
60     @XmlSchemaType(name = "namespaceList")\r
61     protected List<String> namespace;\r
62     @XmlAttribute(name = "processContents")\r
63     @XmlJavaTypeAdapter(CollapsedStringAdapter.class)\r
64     protected String processContents;\r
65 \r
66     /**\r
67      * Gets the value of the namespace property.\r
68      * \r
69      * <p>\r
70      * This accessor method returns a reference to the live list,\r
71      * not a snapshot. Therefore any modification you make to the\r
72      * returned list will be present inside the JAXB object.\r
73      * This is why there is not a <CODE>set</CODE> method for the namespace property.\r
74      * \r
75      * <p>\r
76      * For example, to add a new item, do as follows:\r
77      * <pre>\r
78      *    getNamespace().add(newItem);\r
79      * </pre>\r
80      * \r
81      * \r
82      * <p>\r
83      * Objects of the following type(s) are allowed in the list\r
84      * {@link String }\r
85      * \r
86      * \r
87      */\r
88     public List<String> getNamespace() {\r
89         if (namespace == null) {\r
90             namespace = new ArrayList<String>();\r
91         }\r
92         return this.namespace;\r
93     }\r
94 \r
95     /**\r
96      * Gets the value of the processContents property.\r
97      * \r
98      * @return\r
99      *     possible object is\r
100      *     {@link String }\r
101      *     \r
102      */\r
103     public String getProcessContents() {\r
104         if (processContents == null) {\r
105             return "strict";\r
106         } else {\r
107             return processContents;\r
108         }\r
109     }\r
110 \r
111     /**\r
112      * Sets the value of the processContents property.\r
113      * \r
114      * @param value\r
115      *     allowed object is\r
116      *     {@link String }\r
117      *     \r
118      */\r
119     public void setProcessContents(String value) {\r
120         this.processContents = value;\r
121     }\r
122 \r
123 }\r