| Package | Description |
|---|---|
| org.openprovenance.prov.model |
Provides the classes necessary to manipulate the PROV Data Model in Java, irrespectively of the serialization chosen for it.
|
| Modifier and Type | Method and Description |
|---|---|
static Namespace |
NamespaceGatherer.accumulateAllNamespaces(Document document)
Accumulate all namespace declarations in a single
Namespace instance. |
static Namespace |
Namespace.gatherNamespaces(Bundle bundle) |
static Namespace |
Namespace.gatherNamespaces(Bundle bundle,
ProvFactory pFactory) |
static Namespace |
Namespace.gatherNamespaces(Document doc) |
Namespace |
Bundle.getNamespace() |
Namespace |
Document.getNamespace()
Accessor for the
Namespace object containing registered prefix/namespaces for the current document.# |
Namespace |
NamespaceGatherer.getNamespace() |
Namespace |
Namespace.getParent() |
static Namespace |
Namespace.getThreadNamespace() |
Namespace |
ProvFactory.newNamespace() |
Namespace |
ProvFactory.newNamespace(Namespace ns) |
static Namespace |
Namespace.withThreadNamespace(Namespace ns) |
| Modifier and Type | Method and Description |
|---|---|
void |
Namespace.extendWith(Namespace ns)
Extends this Namespace with all the prefix/namespace registration of the Namespace received as argument.
|
Document |
ProvFactory.newDocument(Namespace namespace,
Collection<Statement> statements,
Collection<Bundle> bundles) |
Document |
ModelConstructor.newDocument(Namespace namespace,
Collection<Statement> statements,
Collection<Bundle> bundles)
A factory method to create an instance of a
Document |
Bundle |
ProvFactory.newNamedBundle(QualifiedName id,
Namespace namespace,
Collection<Statement> statements) |
Bundle |
ModelConstructor.newNamedBundle(QualifiedName id,
Namespace namespace,
Collection<Statement> statements)
A factory method to create an instance of a Bundle
Bundle |
Namespace |
ProvFactory.newNamespace(Namespace ns) |
String |
Namespace.qualifiedNameToString(QName name,
Namespace child) |
String |
Namespace.qualifiedNameToString(QualifiedName name,
Namespace child) |
void |
Bundle.setNamespace(Namespace namespaces) |
void |
Document.setNamespace(Namespace namespace)
Sets the
Namespace of this document |
void |
Namespace.setParent(Namespace parent) |
void |
ProvFactory.startBundle(QualifiedName bundleId,
Namespace namespaces) |
void |
ModelConstructor.startBundle(QualifiedName bundleId,
Namespace namespace) |
void |
ProvFactory.startDocument(Namespace namespace) |
void |
ModelConstructor.startDocument(Namespace namespace) |
static Namespace |
Namespace.withThreadNamespace(Namespace ns) |
| Constructor and Description |
|---|
Namespace(Namespace other) |
Copyright © 2015. All rights reserved.