public Document toDocument_v2 () { List<Statement> ll=new LinkedList<Statement>(); add1DValues_v2(ll,variables); add2Dvalues_v2(ll,attributes); Document dummy=pf.newDocument(null,ll,new LinkedList<Bundle>()); Document result=pf.newDocument(pf.newNamespace(Namespace.gatherNamespaces(dummy)),ll,new LinkedList<Bundle>()); return result; }
public Document toDocument () { List<Statement> ll=new LinkedList<Statement>(); add1DValues(ll,variables); add2Dvalues(ll,attributes); Document dummy=pf.newDocument(null,ll,new LinkedList<Bundle>()); Document result=pf.newDocument(pf.newNamespace(Namespace.gatherNamespaces(dummy)),ll,new LinkedList<Bundle>()); return result; }
public Document toDocument_v2 () { List<Statement> ll=new LinkedList<Statement>(); add1DValues_v2(ll,variables); add2Dvalues_v2(ll,attributes); Document dummy=pf.newDocument(null,ll,new LinkedList<Bundle>()); Document result=pf.newDocument(pf.newNamespace(Namespace.gatherNamespaces(dummy)),ll,new LinkedList<Bundle>()); return result; }
public Document toDocument () { List<Statement> ll=new LinkedList<Statement>(); add1DValues(ll,variables); add2Dvalues(ll,attributes); Document dummy=pf.newDocument(null,ll,new LinkedList<Bundle>()); Document result=pf.newDocument(pf.newNamespace(Namespace.gatherNamespaces(dummy)),ll,new LinkedList<Bundle>()); return result; }
public TreeTraversal(ModelConstructor c, ProvFactory pFactory) { this.c=c; this.pFactory=pFactory; this.name=pFactory.getName(); this.namespace=pFactory.newNamespace(); this.namespace.addKnownNamespaces(); this.vconv=new ValueConverter(pFactory); }
public TreeTraversal(ModelConstructor c, ProvFactory pFactory) { this.c=c; this.pFactory=pFactory; this.name=pFactory.getName(); this.namespace=pFactory.newNamespace(); this.namespace.addKnownNamespaces(); this.vconv=new ValueConverter(pFactory); }
static public Namespace gatherNamespaces(Bundle bundle, ProvFactory pFactory) { NamespaceGatherer gatherer=new NamespaceGatherer(); u.forAllStatement(bundle.getStatement(), gatherer); gatherer.register(bundle.getId()); Namespace ns=gatherer.getNamespace(); Namespace ns2=pFactory.newNamespace(ns); return ns2; }
static public Namespace gatherNamespaces(Bundle bundle, ProvFactory pFactory) { NamespaceGatherer gatherer=new NamespaceGatherer(); u.forAllStatement(bundle.getStatement(), gatherer); gatherer.register(bundle.getId()); Namespace ns=gatherer.getNamespace(); Namespace ns2=pFactory.newNamespace(ns); return ns2; }
Namespace localNamespace=pFactory.newNamespace(); localNamespace.addKnownNamespaces(); localNamespace.setParent(namespace);
Namespace localNamespace=pFactory.newNamespace(); localNamespace.addKnownNamespaces(); localNamespace.setParent(namespace);