1 package org.simantics.xml.sax.base;
3 import java.util.Deque;
5 import org.simantics.db.Resource;
6 import org.simantics.db.WriteGraph;
7 import org.simantics.db.exception.DatabaseException;
9 public class XMLElementParserWrapper implements XMLElementParser {
11 private XMLElementParser base;
13 public XMLElementParserWrapper(XMLElementParser base) {
18 public String getElementId() {
19 return base.getElementId();
23 public int idPriority() {
24 return base.idPriority();
28 public Resource create(WriteGraph graph, ParserElement element) throws DatabaseException {
29 return base.create(graph, element);
33 public void configure(WriteGraph graph, Deque<ParserElement> parents, ParserElement element)
34 throws DatabaseException {
35 base.configure(graph, parents, element);
39 public void configure(WriteGraph graph, ParserElement element, String string) throws DatabaseException {
40 base.configure(graph, element, string);
44 public boolean connectChild(WriteGraph graph, ParserElement element, ParserElement child) throws DatabaseException {
45 return base.connectChild(graph, element, child);
49 public boolean connectParent(WriteGraph graph, ParserElement parent, ParserElement element)
50 throws DatabaseException {
51 return base.connectParent(graph, parent, element);
55 public String getID() {