]> gerrit.simantics Code Review - simantics/interop.git/blobdiff - org.simantics.xml.sax.ontology/src/org/simantics/xml/sax/ontology/XMLResource.java
Initial support for XML export (order of Elements is not kept)
[simantics/interop.git] / org.simantics.xml.sax.ontology / src / org / simantics / xml / sax / ontology / XMLResource.java
index 48daa5915afd6cc11617f25a419c93ea2c5e32ee..01b5156048a55eee110c6faaf2fd23e9cc06d7f6 100644 (file)
@@ -16,6 +16,7 @@ public class XMLResource {
     public final Resource DateTime;\r
     public final Resource Element;\r
     public final Resource ElementList;\r
+    public final Resource Entity;\r
     public final Resource Time;\r
     public final Resource externalReferenceOf;\r
     public final Resource hasAttribute;\r
@@ -40,6 +41,7 @@ public class XMLResource {
         public static final String DateTime = "http://www.simantics.org/XML-1.0/DateTime";\r
         public static final String Element = "http://www.simantics.org/XML-1.0/Element";\r
         public static final String ElementList = "http://www.simantics.org/XML-1.0/ElementList";\r
+        public static final String Entity = "http://www.simantics.org/XML-1.0/Entity";\r
         public static final String Time = "http://www.simantics.org/XML-1.0/Time";\r
         public static final String externalReferenceOf = "http://www.simantics.org/XML-1.0/externalReferenceOf";\r
         public static final String hasAttribute = "http://www.simantics.org/XML-1.0/hasAttribute";\r
@@ -74,6 +76,7 @@ public class XMLResource {
         DateTime = getResourceOrNull(graph, URIs.DateTime);\r
         Element = getResourceOrNull(graph, URIs.Element);\r
         ElementList = getResourceOrNull(graph, URIs.ElementList);\r
+        Entity = getResourceOrNull(graph, URIs.Entity);\r
         Time = getResourceOrNull(graph, URIs.Time);\r
         externalReferenceOf = getResourceOrNull(graph, URIs.externalReferenceOf);\r
         hasAttribute = getResourceOrNull(graph, URIs.hasAttribute);\r