Uses of Interface
org.openprovenance.prov.model.Document
-
Packages that use Document 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. -
-
Uses of Document in org.openprovenance.prov.model
Methods in org.openprovenance.prov.model that return Document Modifier and Type Method Description DocumentObjectFactory. createDocument()DocumentBeanTraversal. doAction(Document doc)DocumentModelConstructor. newDocument(Namespace namespace, Collection<Statement> statements, Collection<Bundle> bundles)A factory method to create an instance of aDocumentDocumentProvFactory. newDocument()Factory method to construct aDocumentDocumentProvFactory. newDocument(Collection<Activity> ps, Collection<Entity> as, Collection<Agent> ags, Collection<Statement> lks)DocumentProvFactory. newDocument(Activity[] ps, Entity[] as, Agent[] ags, Statement[] lks)DocumentProvFactory. newDocument(Document graph)DocumentProvFactory. newDocument(Namespace namespace, Collection<Statement> statements, Collection<Bundle> bundles)DocumentIndexedDocument. toDocument()Methods in org.openprovenance.prov.model with parameters of type Document Modifier and Type Method Description static NamespaceNamespaceGatherer. accumulateAllNamespaces(Document document)Accumulate all namespace declarations in a singleNamespaceinstance.booleanDocumentEquality. check(Document d1, Document d2)DocumentBeanTraversal. doAction(Document doc)static NamespaceNamespace. 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)voidIndexedDocument. merge(Document doc)This function allows a document to be merged with this IndexedDocument.DocumentProvFactory. newDocument(Document graph)voidProvSerialiser. serialiseDocument(OutputStream out, Document document, boolean formatted)Serializes a document to a streamvoidProvUtilities. updateNamespaces(Document document)After reading/constructing a document, this method should be called to ensure that Namespaces are properly chained.Constructors in org.openprovenance.prov.model with parameters of type Document Constructor Description IndexedDocument(ProvFactory pFactory, Document doc)IndexedDocument(ProvFactory pFactory, Document doc, boolean flatten)
-