]> gerrit.simantics Code Review - simantics/interop.git/blobdiff - org.simantics.xml.sax/src/org/simantics/xml/sax/configuration/Rename.java
Initial support for XML export (order of Elements is not kept)
[simantics/interop.git] / org.simantics.xml.sax / src / org / simantics / xml / sax / configuration / Rename.java
diff --git a/org.simantics.xml.sax/src/org/simantics/xml/sax/configuration/Rename.java b/org.simantics.xml.sax/src/org/simantics/xml/sax/configuration/Rename.java
new file mode 100644 (file)
index 0000000..42153d2
--- /dev/null
@@ -0,0 +1,117 @@
+//\r
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802 \r
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> \r
+// Any modifications to this file will be lost upon recompilation of the source schema. \r
+// Generated on: 2017.01.24 at 12:54:40 PM EET \r
+//\r
+\r
+\r
+package org.simantics.xml.sax.configuration;\r
+\r
+import java.util.ArrayList;\r
+import java.util.List;\r
+import javax.xml.bind.annotation.XmlAccessType;\r
+import javax.xml.bind.annotation.XmlAccessorType;\r
+import javax.xml.bind.annotation.XmlAttribute;\r
+import javax.xml.bind.annotation.XmlElement;\r
+import javax.xml.bind.annotation.XmlElements;\r
+import javax.xml.bind.annotation.XmlType;\r
+\r
+\r
+/**\r
+ * <p>Java class for anonymous complex type.\r
+ * \r
+ * <p>The following schema fragment specifies the expected content contained within this class.\r
+ * \r
+ * <pre>\r
+ * &lt;complexType>\r
+ *   &lt;complexContent>\r
+ *     &lt;extension base="{http://www.simantics.org/xml/sax/configuration/}ConversionRule">\r
+ *       &lt;sequence maxOccurs="unbounded">\r
+ *         &lt;choice>\r
+ *           &lt;element ref="{http://www.simantics.org/xml/sax/configuration/}Element"/>\r
+ *           &lt;element ref="{http://www.simantics.org/xml/sax/configuration/}ComplexType"/>\r
+ *           &lt;element ref="{http://www.simantics.org/xml/sax/configuration/}Attribute"/>\r
+ *         &lt;/choice>\r
+ *       &lt;/sequence>\r
+ *       &lt;attribute name="Name" type="{http://www.w3.org/2001/XMLSchema}string" />\r
+ *     &lt;/extension>\r
+ *   &lt;/complexContent>\r
+ * &lt;/complexType>\r
+ * </pre>\r
+ * \r
+ * \r
+ */\r
+@XmlAccessorType(XmlAccessType.FIELD)\r
+@XmlType(name = "", propOrder = {\r
+    "elementOrComplexTypeOrAttribute"\r
+})\r
+public class Rename\r
+    extends ConversionRule\r
+{\r
+\r
+    @XmlElements({\r
+        @XmlElement(name = "Element", type = Element.class),\r
+        @XmlElement(name = "ComplexType", type = ComplexType.class),\r
+        @XmlElement(name = "Attribute", type = Attribute.class)\r
+    })\r
+    protected List<Object> elementOrComplexTypeOrAttribute;\r
+    @XmlAttribute(name = "Name")\r
+    protected String name;\r
+\r
+    /**\r
+     * Gets the value of the elementOrComplexTypeOrAttribute property.\r
+     * \r
+     * <p>\r
+     * This accessor method returns a reference to the live list,\r
+     * not a snapshot. Therefore any modification you make to the\r
+     * returned list will be present inside the JAXB object.\r
+     * This is why there is not a <CODE>set</CODE> method for the elementOrComplexTypeOrAttribute property.\r
+     * \r
+     * <p>\r
+     * For example, to add a new item, do as follows:\r
+     * <pre>\r
+     *    getElementOrComplexTypeOrAttribute().add(newItem);\r
+     * </pre>\r
+     * \r
+     * \r
+     * <p>\r
+     * Objects of the following type(s) are allowed in the list\r
+     * {@link Element }\r
+     * {@link ComplexType }\r
+     * {@link Attribute }\r
+     * \r
+     * \r
+     */\r
+    public List<Object> getElementOrComplexTypeOrAttribute() {\r
+        if (elementOrComplexTypeOrAttribute == null) {\r
+            elementOrComplexTypeOrAttribute = new ArrayList<Object>();\r
+        }\r
+        return this.elementOrComplexTypeOrAttribute;\r
+    }\r
+\r
+    /**\r
+     * Gets the value of the name property.\r
+     * \r
+     * @return\r
+     *     possible object is\r
+     *     {@link String }\r
+     *     \r
+     */\r
+    public String getName() {\r
+        return name;\r
+    }\r
+\r
+    /**\r
+     * Sets the value of the name property.\r
+     * \r
+     * @param value\r
+     *     allowed object is\r
+     *     {@link String }\r
+     *     \r
+     */\r
+    public void setName(String value) {\r
+        this.name = value;\r
+    }\r
+\r
+}\r