| 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 |
|---|---|
Document |
ObjectFactory.createDocument() |
Document |
BeanTraversal.doAction(Document doc) |
Document |
ProvFactory.newDocument()
Factory method to construct a
Document |
Document |
ProvFactory.newDocument(Activity[] ps,
Entity[] as,
Agent[] ags,
Statement[] lks) |
Document |
ProvFactory.newDocument(Collection<Activity> ps,
Collection<Entity> as,
Collection<Agent> ags,
Collection<Statement> lks) |
Document |
ProvFactory.newDocument(Document graph) |
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 |
Document |
IndexedDocument.toDocument() |
| Modifier and Type | Method and Description |
|---|---|
static Namespace |
NamespaceGatherer.accumulateAllNamespaces(Document document)
Accumulate all namespace declarations in a single
Namespace instance. |
boolean |
DocumentEquality.check(Document d1,
Document d2) |
Document |
BeanTraversal.doAction(Document doc) |
static Namespace |
Namespace.gatherNamespaces(Document doc) |
List<Activity> |
ProvUtilities.getActivity(Document d) |
List<Agent> |
ProvUtilities.getAgent(Document d) |
List<Bundle> |
ProvUtilities.getBundle(Document d) |
List<Entity> |
ProvUtilities.getEntity(Document d) |
List<Bundle> |
ProvUtilities.getNamedBundle(Document d) |
List<Relation> |
ProvUtilities.getRelations(Document d) |
List<Statement> |
ProvUtilities.getStatement(Document d) |
void |
IndexedDocument.merge(Document doc)
This function allows a document to be merged with this IndexedDocument.
|
Document |
ProvFactory.newDocument(Document graph) |
void |
ProvSerialiser.serialiseDocument(OutputStream out,
Document document,
boolean formatted)
Serializes a document to a stream
|
| Constructor and Description |
|---|
IndexedDocument(ProvFactory pFactory,
Document doc) |
IndexedDocument(ProvFactory pFactory,
Document doc,
boolean flatten) |
Copyright © 2015. All rights reserved.