public class ProvFactory extends ProvFactory
ProvFactory.Cloner
Modifier and Type | Field and Description |
---|---|
protected DatatypeFactory |
dataFactory |
static String |
packageList |
of
Constructor and Description |
---|
ProvFactory() |
ProvFactory(ObjectFactory2 of) |
Modifier and Type | Method and Description |
---|---|
static ProvFactory |
getFactory() |
ProvSerialiser |
getSerializer() |
String |
getVersion() |
Attribute |
newAttribute(Attribute.AttributeKind kind,
Object value,
QualifiedName type) |
Attribute |
newAttribute(QualifiedName elementName,
Object value,
QualifiedName type) |
Key |
newKey(Object value,
QualifiedName type) |
Label |
newLabel(Object value,
QualifiedName type) |
Label |
newLabel(Object value,
QualifiedName type,
ProvUtilities.BuildFlag flag) |
Location |
newLocation(Object value,
QualifiedName type) |
Other |
newOther(QualifiedName elementName,
Object value,
QualifiedName type) |
QualifiedName |
newQualifiedName(String namespace,
String local,
String prefix)
A factory method for
QualifiedName . |
QualifiedName |
newQualifiedName(String namespace,
String local,
String prefix,
ProvUtilities.BuildFlag flag)
A factory method for
QualifiedName . |
static String |
printURI(URI u) |
addAttribute, addAttributes, addAttributes, addAttributes, addAttributes, addAttributes, addAttributes, addAttributes, addAttributes, addAttributes, addAttributes, addAttributes, addAttributes, addAttributes, addAttributes, addBundleType, addLabel, addLabel, addPrimarySourceType, addQuotationType, addRevisionType, addRole, addType, addType, addType, base64Decoding, base64Encoding, getAttributes, getLabel, getName, getObjectFactory, getPackageList, getRole, getType, hexDecoding, hexEncoding, init, newActedOnBehalfOf, newActedOnBehalfOf, newActedOnBehalfOf, newActedOnBehalfOf, newActivity, newActivity, newActivity, newActivity, newAgent, newAgent, newAgent, newAgent, newAlternateOf, newAlternateOf, newAttribute, newDerivedByInsertionFrom, newDerivedByRemovalFrom, newDictionaryMembership, newDocument, newDocument, newDocument, newDocument, newDocument, newDuration, newDuration, newEntity, newEntity, newEntity, newEntity, newEntry, newGDay, newGMonth, newGMonthDay, newGYear, newHadMember, newHadMember, newHadMember, newInternationalizedString, newInternationalizedString, newISOTime, newMentionOf, newMentionOf, newNamedBundle, newNamedBundle, newNamedBundle, newNamespace, newNamespace, newOther, newQualifiedAlternateOf, newQualifiedHadMember, newQualifiedName, newQualifiedSpecializationOf, newRole, newSpecializationOf, newSpecializationOf, newStatement, newTime, newTimeNow, newType, newUsed, newUsed, newUsed, newUsed, newUsed, newUsed, newValue, newValue, newValue, newWasAssociatedWith, newWasAssociatedWith, newWasAssociatedWith, newWasAssociatedWith, newWasAttributedTo, newWasAttributedTo, newWasAttributedTo, newWasDerivedFrom, newWasDerivedFrom, newWasDerivedFrom, newWasDerivedFrom, newWasEndedBy, newWasEndedBy, newWasEndedBy, newWasEndedBy, newWasEndedBy, newWasGeneratedBy, newWasGeneratedBy, newWasGeneratedBy, newWasGeneratedBy, newWasGeneratedBy, newWasGeneratedBy, newWasGeneratedBy, newWasInfluencedBy, newWasInfluencedBy, newWasInfluencedBy, newWasInformedBy, newWasInformedBy, newWasInformedBy, newWasInvalidatedBy, newWasInvalidatedBy, newWasInvalidatedBy, newWasInvalidatedBy, newWasStartedBy, newWasStartedBy, newWasStartedBy, newWasStartedBy, newWasStartedBy, newXMLGregorianCalendar, newYear, setAttributes, startBundle, startDocument
public static final String packageList
protected DatatypeFactory dataFactory
public ProvFactory()
public ProvFactory(ObjectFactory2 of)
public static ProvFactory getFactory()
public String getVersion()
getVersion
in class ProvFactory
public Attribute newAttribute(Attribute.AttributeKind kind, Object value, QualifiedName type)
newAttribute
in class ProvFactory
public Attribute newAttribute(QualifiedName elementName, Object value, QualifiedName type)
newAttribute
in class ProvFactory
public Key newKey(Object value, QualifiedName type)
newKey
in class ProvFactory
public Label newLabel(Object value, QualifiedName type)
public Label newLabel(Object value, QualifiedName type, ProvUtilities.BuildFlag flag)
public Location newLocation(Object value, QualifiedName type)
newLocation
in class ProvFactory
public Other newOther(QualifiedName elementName, Object value, QualifiedName type)
newOther
in class ProvFactory
public QualifiedName newQualifiedName(String namespace, String local, String prefix)
ModelConstructor
QualifiedName
. A qualified name consists of a namespace, denoted by an optional prefix, and a local name.newQualifiedName
in interface ModelConstructor
newQualifiedName
in class ProvFactory
namespace
- a URI for the namespacelocal
- a local nameprefix
- a string, which can be null.QualifiedName
public QualifiedName newQualifiedName(String namespace, String local, String prefix, ProvUtilities.BuildFlag flag)
ModelConstructor
QualifiedName
. A qualified name consists of a namespace, denoted by an optional prefix, and a local name.newQualifiedName
in interface ModelConstructor
newQualifiedName
in class ProvFactory
namespace
- a URI for the namespacelocal
- a local nameprefix
- a string, which can be nullQualifiedName
public ProvSerialiser getSerializer() throws JAXBException
getSerializer
in class ProvFactory
JAXBException
Copyright © 2016. All rights reserved.