Package org.apache.xmpbox.type
Class TextType
java.lang.Object
org.apache.xmpbox.type.AbstractField
org.apache.xmpbox.type.AbstractSimpleProperty
org.apache.xmpbox.type.TextType
- Direct Known Subclasses:
AgentNameType,ChoiceType,GPSCoordinateType,GUIDType,LocaleType,MIMEType,PartType,ProperNameType,RationalType,RenditionClassType,URIType,URLType,XPathType
Object representation of a Text XMP type
- Author:
- a183132
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.xmpbox.type.AbstractSimpleProperty
getNamespace, getPrefix, getRawValue, toStringMethods inherited from class org.apache.xmpbox.type.AbstractField
containsAttribute, getAllAttributes, getAttribute, getMetadata, getPropertyName, removeAttribute, setAttribute, setPropertyName
-
Constructor Details
-
TextType
public TextType(XMPMetadata metadata, String namespaceURI, String prefix, String propertyName, Object value) Property Text type constructor (namespaceURI is given)- Parameters:
metadata- The metadata to attach to this propertynamespaceURI- the namespace URI to associate to this propertyprefix- The prefix to set for this propertypropertyName- The local Name of this propertyvalue- The value to set
-
-
Method Details
-
setValue
Set the property value- Specified by:
setValuein classAbstractSimpleProperty- Parameters:
value- The value to set
-
getStringValue
Description copied from class:AbstractSimplePropertyReturn the property value- Specified by:
getStringValuein classAbstractSimpleProperty- Returns:
- a string
-
getValue
- Specified by:
getValuein classAbstractSimpleProperty
-