]> gerrit.simantics Code Review - simantics/interop.git/blobdiff - org.simantics.xml.sax.base/src/org/simantics/xml/sax/base/XMLElementWriter.java
XML Elements are exported in the original order (if order is stored during import)
[simantics/interop.git] / org.simantics.xml.sax.base / src / org / simantics / xml / sax / base / XMLElementWriter.java
index cde7809cb1637c980ceb6a52a4623685b72f2078..b11c24ce8e49fc6bddaf4a75af1f7d8f5a19e32a 100644 (file)
@@ -1,7 +1,7 @@
 package org.simantics.xml.sax.base;\r
 \r
 import java.util.Collection;\r
-import java.util.List;\r
+import java.util.Set;\r
 \r
 import javax.xml.stream.XMLStreamException;\r
 import javax.xml.stream.XMLStreamWriter;\r
@@ -19,7 +19,7 @@ public interface XMLElementWriter {
        public void start(ReadGraph graph, WriterElement instance, XMLStreamWriter writer) throws XMLStreamException, DatabaseException;\r
        public void attributes(ReadGraph graph, WriterElement instance, Collection<Statement> attributes, XMLStreamWriter writer) throws XMLStreamException, DatabaseException;\r
        public void characters(ReadGraph graph, WriterElement instance, XMLStreamWriter writer) throws XMLStreamException, DatabaseException;\r
-       public List<Resource> children(ReadGraph graph, WriterElement instance, XMLStreamWriter writer) throws XMLStreamException, DatabaseException;\r
+       public void children(ReadGraph graph, WriterElement instance, Set<Resource> writer) throws XMLStreamException, DatabaseException;\r
        public void end(ReadGraph graph, WriterElement instance, XMLStreamWriter writer) throws XMLStreamException, DatabaseException;\r
        \r
 }\r