public interface Document
PROV-N Definition for Document: A document is a house-keeping construct of PROV-N capable of packaging up PROV-N expressions and namespace declarations. A document forms a self-contained package of provenance descriptions for the purpose of exchanging them. A document may be used to package up PROV-N expressions in response to a request for the provenance of something.
Relevant Factory Methods:
ProvFactory.newDocument()
ProvFactory.newDocument(Namespace, java.util.Collection, java.util.Collection)
ProvFactory.newDocument(java.util.Collection, java.util.Collection, java.util.Collection, java.util.Collection)
Schema Definition:
The following schema fragment specifies the expected content contained within this class.
<complexType name="Document"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <choice maxOccurs="unbounded"> <group ref="{http://www.w3.org/ns/prov#}documentElements"/> <element name="bundleContent" type="{http://www.w3.org/ns/prov#}NamedBundle"/> </choice> </sequence> </restriction> </complexContent> </complexType>
Modifier and Type | Method and Description |
---|---|
Namespace |
getNamespace() |
List<StatementOrBundle> |
getStatementOrBundle() |
void |
setNamespace(Namespace ns) |
List<StatementOrBundle> getStatementOrBundle()
void setNamespace(Namespace ns)
Namespace getNamespace()
Copyright © 2013. All Rights Reserved.