]> gerrit.simantics Code Review - simantics/interop.git/blob - org.simantics.xml.sax/src/org/w3/_2001/xmlschema/OpenAttrs.java
XML Schema converter
[simantics/interop.git] / org.simantics.xml.sax / src / org / w3 / _2001 / xmlschema / OpenAttrs.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.HashMap;\r
12 import java.util.Map;\r
13 import javax.xml.bind.annotation.XmlAccessType;\r
14 import javax.xml.bind.annotation.XmlAccessorType;\r
15 import javax.xml.bind.annotation.XmlAnyAttribute;\r
16 import javax.xml.bind.annotation.XmlSeeAlso;\r
17 import javax.xml.bind.annotation.XmlType;\r
18 import javax.xml.namespace.QName;\r
19 \r
20 \r
21 /**\r
22  * \r
23  *        This type is extended by almost all schema types\r
24  *        to allow attributes from other namespaces to be\r
25  *        added to user schemas.\r
26  *      \r
27  * \r
28  * <p>Java class for openAttrs complex type.\r
29  * \r
30  * <p>The following schema fragment specifies the expected content contained within this class.\r
31  * \r
32  * <pre>\r
33  * &lt;complexType name="openAttrs">\r
34  *   &lt;complexContent>\r
35  *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">\r
36  *       &lt;anyAttribute processContents='lax' namespace='##other'/>\r
37  *     &lt;/restriction>\r
38  *   &lt;/complexContent>\r
39  * &lt;/complexType>\r
40  * </pre>\r
41  * \r
42  * \r
43  */\r
44 @XmlAccessorType(XmlAccessType.FIELD)\r
45 @XmlType(name = "openAttrs")\r
46 @XmlSeeAlso({\r
47     Redefine.class,\r
48     Schema.class,\r
49     Annotation.class,\r
50     Annotated.class\r
51 })\r
52 public class OpenAttrs {\r
53 \r
54     @XmlAnyAttribute\r
55     private Map<QName, String> otherAttributes = new HashMap<QName, String>();\r
56 \r
57     /**\r
58      * Gets a map that contains attributes that aren't bound to any typed property on this class.\r
59      * \r
60      * <p>\r
61      * the map is keyed by the name of the attribute and \r
62      * the value is the string value of the attribute.\r
63      * \r
64      * the map returned by this method is live, and you can add new attribute\r
65      * by updating the map directly. Because of this design, there's no setter.\r
66      * \r
67      * \r
68      * @return\r
69      *     always non-null\r
70      */\r
71     public Map<QName, String> getOtherAttributes() {\r
72         return otherAttributes;\r
73     }\r
74 \r
75 }\r