public class ProvFactory extends ProvFactory implements LiteralConstructor
ProvFactory.Cloner
Modifier and Type | Field and Description |
---|---|
static DocumentBuilder |
builder |
protected DatatypeFactory |
dataFactory |
static String |
DEFAULT_NS |
protected ObjectFactory |
of |
static String |
packageList |
Constructor and Description |
---|
ProvFactory() |
ProvFactory(ObjectFactory2 of) |
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, newOther, newQualifiedAlternateOf, newQualifiedHadMember, newQualifiedName, newQualifiedSpecializationOf, newSpecializationOf, newSpecializationOf, newStatement, newTime, newTimeNow, newUsed, newUsed, newUsed, newUsed, newUsed, newUsed, 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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
base64Decoding, hexDecoding, newDuration, newGDay, newGMonth, newGMonthDay, newGYear, newISOTime, newTimeNow
public static DocumentBuilder builder
public static final String DEFAULT_NS
public static final String packageList
protected DatatypeFactory dataFactory
protected ObjectFactory of
public ProvFactory()
public ProvFactory(ObjectFactory2 of)
public String getVersion()
getVersion
in class ProvFactory
public static ProvFactory getFactory()
public Location newLocation(Object value, QualifiedName type)
newLocation
in class ProvFactory
public Type newType(Object value, QualifiedName type)
newType
in class ProvFactory
public Value newValue(Object value, QualifiedName type)
ProvFactory
Value
).
Use class Name
for predefined QualifiedName
s for the common types.newValue
in class ProvFactory
value
- an Object
type
- a QualifiedName
to denote the type of valueValue
public Role newRole(Object value, QualifiedName type)
newRole
in class ProvFactory
public Label newLabel(Object value, QualifiedName type)
public Other newOther(QualifiedName elementName, Object value, QualifiedName type)
newOther
in class ProvFactory
public Attribute newAttribute(QualifiedName elementName, Object value, QualifiedName type)
newAttribute
in class ProvFactory
public Attribute newAttribute(Attribute.AttributeKind kind, Object value, QualifiedName type)
newAttribute
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 Namespace newNamespace(Namespace ns)
newNamespace
in class ProvFactory
public Namespace newNamespace()
newNamespace
in class ProvFactory
public Key newKey(Object value, QualifiedName type)
newKey
in class ProvFactory
public static void initializeTables()
public ProvSerialiser getSerializer() throws JAXBException
getSerializer
in class ProvFactory
JAXBException
Copyright © 2016. All rights reserved.