Package | Description |
---|---|
org.openprovenance.prov.json |
Provides the classes to map the PROV Data Model in Java to Json or back
|
org.openprovenance.prov.model |
Provides the classes necessary to manipulate the PROV Data Model in Java, irrespectively of the serialization chosen for it.
|
org.openprovenance.prov.notation |
Provides the classes supporting serialization/deserialization to/from PROV notation.
|
org.openprovenance.prov.rdf |
Provides the classes to map the PROV Data Model to/from RDF.
|
org.openprovenance.prov.sql |
Provides the classes instantiating the PROV Data Model in Java with a view to persist it with an ORM mapping.
|
org.openprovenance.prov.template | |
org.openprovenance.prov.xml |
Provides the classes instantiating the PROV Data Model in Java with a view to serialize/deserialize to/from XML.
|
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
JSONConstructor.getJSONStructure(List<org.openprovenance.prov.json.JSONConstructor.JsonProvRecord> records,
Namespace namespace) |
Document |
JSONConstructor.newDocument(Namespace namespaces,
Collection<Statement> statements,
Collection<Bundle> bundles) |
Bundle |
JSONConstructor.newNamedBundle(QualifiedName id,
Namespace namespaces,
Collection<Statement> statements) |
void |
JSONConstructor.startBundle(QualifiedName bundleId,
Namespace namespaces) |
void |
JSONConstructor.startDocument(Namespace namespace) |
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 |
NamespaceGatherer.getNamespace() |
Namespace |
Document.getNamespace()
Accessor for the
Namespace object containing registered prefix/namespaces for the current document.# |
Namespace |
Bundle.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 |
Document.setNamespace(Namespace namespace)
Sets the
Namespace of this document |
void |
Bundle.setNamespace(Namespace namespaces) |
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) |
Modifier and Type | Method and Description |
---|---|
Document |
NotationConstructor.newDocument(Namespace namespaces,
Collection<Statement> statements,
Collection<Bundle> bundles) |
Bundle |
NotationConstructor.newNamedBundle(QualifiedName id,
Namespace namespace,
Collection<Statement> statements) |
String |
NotationConstructor.processNamespaces(Namespace namespace) |
void |
NotationConstructor.startBundle(QualifiedName bundleId,
Namespace namespaces) |
void |
NotationConstructor.startDocument(Namespace namespaces) |
Modifier and Type | Method and Description |
---|---|
Namespace |
RdfConstructor.getNamespace() |
Modifier and Type | Method and Description |
---|---|
void |
RepositoryHelper.dumpToRDF(String file,
org.openrdf.repository.contextaware.ContextAwareRepository manager,
org.openrdf.rio.RDFFormat format,
Namespace namespace) |
void |
RepositoryHelper.dumpToRDF(Writer writer,
org.openrdf.repository.contextaware.ContextAwareRepository manager,
org.openrdf.rio.RDFFormat format,
Namespace namespace) |
Document |
RdfConstructor.newDocument(Namespace namespaces,
Collection<Statement> statements,
Collection<Bundle> bundles) |
Bundle |
RdfConstructor.newNamedBundle(QualifiedName id,
Namespace namespaces,
Collection<Statement> statements) |
void |
RdfConstructor.setNamespace(Namespace ns) |
void |
RdfConstructor.startBundle(QualifiedName bundleId,
Namespace namespaces) |
void |
RdfConstructor.startDocument(Namespace namespaces) |
Modifier and Type | Class and Description |
---|---|
class |
Namespace |
Modifier and Type | Method and Description |
---|---|
Namespace |
Document.getNamespace() |
Namespace |
Bundle.getNamespace() |
Namespace |
Namespace.getParent() |
Namespace |
ProvFactory.newNamespace() |
Namespace |
ProvFactory.newNamespace(Namespace ns) |
Modifier and Type | Method and Description |
---|---|
void |
ProvSerialiser.configurePrefixes(Marshaller m,
Namespace namespaces) |
Namespace |
ProvFactory.newNamespace(Namespace ns) |
void |
Document.setNamespace(Namespace ns) |
void |
Bundle.setNamespace(Namespace namespace) |
void |
Namespace.setParent(Namespace parent) |
Constructor and Description |
---|
Namespace(Namespace other) |
Modifier and Type | Method and Description |
---|---|
static Object[] |
BindingsJson.convertBeanToValue(Object v,
Hashtable<String,String> context,
Namespace ns,
ProvFactory pf) |
Modifier and Type | Method and Description |
---|---|
Namespace |
Document.getNamespace() |
Namespace |
Bundle.getNamespace() |
Modifier and Type | Method and Description |
---|---|
void |
ProvSerialiser.configurePrefixes(Marshaller m,
Namespace namespaces) |
void |
Document.setNamespace(Namespace ns) |
void |
Bundle.setNamespace(Namespace namespace) |
Constructor and Description |
---|
NamespacePrefixMapper(Namespace nss) |
Copyright © 2016. All rights reserved.