| |
|
| java.lang.Object org.apache.xmlgraphics.xmp.XMPProperty
XMPProperty | public class XMPProperty implements XMLizable(Code) | | This class is the base class for all XMP properties.
|
XMPProperty | public XMPProperty(QName name, Object value)(Code) | | Creates a new XMP property.
Parameters: name - the name of the property Parameters: value - the value for the property |
convertSimpleValueToArray | public void convertSimpleValueToArray(XMPArrayType type)(Code) | | Converts a simple value to an array of a given type if the value is not already an array.
Parameters: type - the desired type of array |
getArrayValue | public XMPArray getArrayValue()(Code) | | the XMPArray for an array or null if the value is not an array. |
getName | public QName getName()(Code) | | the qualified name of the property (namespace URI + local name) |
getNamespace | public String getNamespace()(Code) | | the namespace URI of the property |
getValue | public Object getValue()(Code) | | the property value (can be a normal Java object (normally a String) or a descendantof XMPComplexValue. |
getXMLLang | public String getXMLLang()(Code) | | the language for language-dependent values ("x-default" for the default language) |
setValue | public void setValue(Object value)(Code) | | Sets the value of the property
Parameters: value - the new value |
setXMLLang | public void setXMLLang(String lang)(Code) | | Sets the xml:lang value for this property
Parameters: lang - the language ("x-default" for the default language, null to make the valuelanguage-independent) |
|
|
|