public abstract class AbstractSimpleProperty extends AbstractField
| Constructor and Description |
|---|
AbstractSimpleProperty(XMPMetadata metadata,
String namespaceURI,
String prefix,
String propertyName,
Object value)
Property specific type constructor (namespaceURI is given)
|
| Modifier and Type | Method and Description |
|---|---|
String |
getNamespace()
Get the namespace URI of this entity
|
String |
getPrefix()
Get the prefix of this entity
|
abstract String |
getStringValue()
Return the property value
|
abstract Object |
getValue() |
abstract void |
setValue(Object value)
Check and set new property value (in Element and in its Object Representation)
|
String |
toString() |
containsAttribute, getAllAttributes, getAttribute, getMetadata, getPropertyName, removeAttribute, setAttribute, setPropertyNamepublic AbstractSimpleProperty(XMPMetadata metadata, String namespaceURI, String prefix, String propertyName, Object value)
metadata - The metadata to attach to this propertynamespaceURI - the specified namespace URI associated to this propertyprefix - The prefix to set for this propertypropertyName - The local Name of this propertyvalue - the value to givepublic abstract void setValue(Object value)
value - Object value to setpublic abstract String getStringValue()
public abstract Object getValue()
public final String getNamespace()
getNamespace in class AbstractFieldpublic String getPrefix()
getPrefix in class AbstractFieldCopyright © 2002–2016 The Apache Software Foundation. All rights reserved.