Type | Property and Description |
---|---|
boolean |
isQualified
Gets the value of the property qualifiedProperty.
|
Constructor and Description |
---|
XMPProperty(QName name,
Object value)
Creates a new XMP property.
|
Modifier and Type | Method and Description |
---|---|
XMPArray |
convertSimpleValueToArray(XMPArrayType type)
Converts a simple value to an array of a given type if the value is not already an array.
|
XMPArray |
getArrayValue() |
QName |
getName() |
String |
getNamespace() |
PropertyAccess |
getStructureValue() |
Object |
getValue() |
String |
getXMLLang() |
boolean |
isArray()
Indicates whether the property is an array.
|
boolean |
isQualifiedProperty()
Gets the value of the property qualifiedProperty.
|
void |
setValue(Object value)
Sets the value of the property
|
void |
setXMLLang(String lang)
Sets the xml:lang value for this property
|
void |
simplify() |
void |
toSAX(ContentHandler handler)
Generates SAX events representing the object's state.
|
String |
toString() |
public boolean isQualifiedProperty
public QName getName()
public String getNamespace()
public void setValue(Object value)
value
- the new valuepublic Object getValue()
public void setXMLLang(String lang)
lang
- the language ("x-default" for the default language, null to make the value
language-independent)public String getXMLLang()
public boolean isArray()
public XMPArray getArrayValue()
public XMPArray convertSimpleValueToArray(XMPArrayType type)
type
- the desired type of arraypublic PropertyAccess getStructureValue()
public boolean isQualifiedProperty()
public void simplify()
public void toSAX(ContentHandler handler) throws SAXException
XMLizable
toSAX
in interface XMLizable
handler
- ContentHandler instance to send the SAX events toSAXException
- if there's a problem generating the SAX eventsXMLizable.toSAX(org.xml.sax.ContentHandler)
public String toString()
toString
in class Object
Object.toString()
Copyright 1999-2016 The Apache Software Foundation. All Rights Reserved.