static public String qualifiedNameToStringWithNamespace(QualifiedName name) { Namespace ns=Namespace.getThreadNamespace(); return ns.qualifiedNameToString(name); }
static public String qualifiedNameToStringWithNamespace(QualifiedName name) { Namespace ns=Namespace.getThreadNamespace(); return ns.qualifiedNameToString(name); }
static public String qualifiedNameToString(QualifiedName name) { Namespace ns=Namespace.getThreadNamespace(); return ns.qualifiedNameToString(name); }
static public String qualifiedNameToString(javax.xml.namespace.QName name) { Namespace ns=Namespace.getThreadNamespace(); return ns.qualifiedNameToString(name); }
static public String qualifiedNameToString(QualifiedName name) { Namespace ns=Namespace.getThreadNamespace(); return ns.qualifiedNameToString(name); }
public String idOrMarker(QualifiedName qn) { return ((qn == null) ? MARKER : Namespace.getThreadNamespace().qualifiedNameToString(qn)); }
private String optionalId(QualifiedName id) { return ((id == null) ? "" : (Namespace.getThreadNamespace().qualifiedNameToString(id) + ";")); }
static public String qualifiedNameToString(javax.xml.namespace.QName name) { Namespace ns=Namespace.getThreadNamespace(); return ns.qualifiedNameToString(name); }
private String optionalId(QualifiedName id) { return ((id == null) ? "" : (Namespace.getThreadNamespace().qualifiedNameToString(id) + ";")); }
public String idOrMarker(QualifiedName qn) { return ((qn == null) ? MARKER : Namespace.getThreadNamespace().qualifiedNameToString(qn)); }
public Bundle doAction(Bundle b, ProvUtilities u) { List<Statement> sRecords = new LinkedList<Statement>(); QualifiedName bundleId=b.getId(); Namespace old=Namespace.getThreadNamespace(); Namespace bundleNamespace; if (b.getNamespace()!=null) { bundleNamespace=new Namespace(b.getNamespace()); } else { bundleNamespace=new Namespace(); } bundleNamespace.setParent(new Namespace(old)); //ensure to make a copy of old, since setting might otherwise create a loop Namespace.withThreadNamespace(bundleNamespace); c.startBundle(bundleId, b.getNamespace()); for (Statement s : u.getStatement(b)) { sRecords.add((Statement) u.doAction(s, this)); } return c.newNamedBundle(bundleId, b.getNamespace(), sRecords); }
public Bundle doAction(Bundle b, ProvUtilities u) { List<Statement> sRecords = new LinkedList<Statement>(); QualifiedName bundleId=b.getId(); Namespace old=Namespace.getThreadNamespace(); Namespace bundleNamespace; if (b.getNamespace()!=null) { bundleNamespace=new Namespace(b.getNamespace()); } else { bundleNamespace=new Namespace(); } bundleNamespace.setParent(new Namespace(old)); //ensure to make a copy of old, since setting might otherwise create a loop Namespace.withThreadNamespace(bundleNamespace); c.startBundle(bundleId, b.getNamespace()); for (Statement s : u.getStatement(b)) { sRecords.add((Statement) u.doAction(s, this)); } return c.newNamedBundle(bundleId, b.getNamespace(), sRecords); }