1 package org.simantics.interop.xmlio;
\r
3 import java.util.List;
\r
5 import org.simantics.db.ReadGraph;
\r
6 import org.simantics.db.Resource;
\r
7 import org.simantics.db.exception.DatabaseException;
\r
8 import org.simantics.interop.xmlio.LoadXML.Bundle;
\r
10 public interface LoadRule {
\r
12 public Resource getResource(ReadGraph graph, String uri) throws DatabaseException;
\r
14 public Object createValue(ReadGraph graph, List<String> value, List<String> types) throws DatabaseException;
\r
16 public void initializeWithBundles(ReadGraph graph, List<Bundle> bundles) throws DatabaseException;
\r