X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=org.simantics.xml.sax.base%2Fsrc%2Forg%2Fsimantics%2Fxml%2Fsax%2Fbase%2FValueElementParser.java;h=8a1391888eaca574a8214cd33b2d790dba3e45e6;hb=c8ead11dcd815dc26885b2b8e866e4ac4e563ae5;hp=718c8b029937b5fcc0222e6b432d6fcf235b5ea9;hpb=ada38ab0a1a98dcb413bef3273064da36ce2d273;p=simantics%2Finterop.git diff --git a/org.simantics.xml.sax.base/src/org/simantics/xml/sax/base/ValueElementParser.java b/org.simantics.xml.sax.base/src/org/simantics/xml/sax/base/ValueElementParser.java index 718c8b0..8a13918 100644 --- a/org.simantics.xml.sax.base/src/org/simantics/xml/sax/base/ValueElementParser.java +++ b/org.simantics.xml.sax.base/src/org/simantics/xml/sax/base/ValueElementParser.java @@ -27,29 +27,29 @@ public class ValueElementParser extends XMLElementParserBase{ } @Override - public Resource create(WriteGraph graph, Element element) + public Resource create(WriteGraph graph, ParserElement element) throws DatabaseException { Resource res = graph.newResource(); return res; } @Override - public void configure(WriteGraph graph, Deque parents, Element element) throws DatabaseException { + public void configure(WriteGraph graph, Deque parents, ParserElement element) throws DatabaseException { } @Override - public boolean connectParent(WriteGraph graph, Element parent, Element element)throws DatabaseException { + public boolean connectParent(WriteGraph graph, ParserElement parent, ParserElement element)throws DatabaseException { graph.claim(parent.getData(), graph.getResource(relationURI), element.getData()); return true; } @Override - public boolean connectChild(WriteGraph graph, Element element, Element child) throws DatabaseException { + public boolean connectChild(WriteGraph graph, ParserElement element, ParserElement child) throws DatabaseException { return false; } @Override - public void configure(WriteGraph graph, Element element, String string) throws DatabaseException { + public void configure(WriteGraph graph, ParserElement element, String string) throws DatabaseException { Layer0 l0 = Layer0.getInstance(graph); if (binding == Bindings.STRING) { graph.claim(element.getData(), l0.InstanceOf, l0.String);