|
xmlgraphics-commons 1.1 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.xmlgraphics.xmp.XMPProperty
This class is the base class for all XMP properties.
| Constructor Summary | |
XMPProperty(QName name,
java.lang.Object value)
Creates a new XMP property. |
|
| Method Summary | |
void |
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()
|
java.lang.String |
getNamespace()
|
java.lang.Object |
getValue()
|
java.lang.String |
getXMLLang()
|
void |
setValue(java.lang.Object value)
Sets the value of the property |
void |
setXMLLang(java.lang.String lang)
Sets the xml:lang value for this property |
void |
toSAX(org.xml.sax.ContentHandler handler)
Generates SAX events representing the object's state. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public XMPProperty(QName name,
java.lang.Object value)
name - the name of the propertyvalue - the value for the property| Method Detail |
public QName getName()
public java.lang.String getNamespace()
public void setValue(java.lang.Object value)
value - the new valuepublic java.lang.Object getValue()
public void setXMLLang(java.lang.String lang)
lang - the language ("x-default" for the default language, null to make the value
language-independent)public java.lang.String getXMLLang()
public XMPArray getArrayValue()
public void convertSimpleValueToArray(XMPArrayType type)
type - the desired type of array
public void toSAX(org.xml.sax.ContentHandler handler)
throws org.xml.sax.SAXException
XMLizable
toSAX in interface XMLizablehandler - ContentHandler instance to send the SAX events to
org.xml.sax.SAXException - if there's a problem generating the SAX eventsXMLizable.toSAX(org.xml.sax.ContentHandler)
|
xmlgraphics-commons 1.1 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||