|
xmlgraphics-commons 1.4 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.xmlgraphics.xmp.XMPComplexValue
org.apache.xmlgraphics.xmp.XMPStructure
Represents an XMP structure as defined by the XMP specification.
| Constructor Summary | |
XMPStructure()
Main constructor |
|
| Method Summary | |
XMPProperty |
getProperty(QName name)
Returns a property. |
XMPProperty |
getProperty(java.lang.String uri,
java.lang.String localName)
Returns a property |
int |
getPropertyCount()
Returns the number of properties. |
java.lang.Object |
getSimpleValue()
Returns a normal Java object representing the value if it is available. |
XMPProperty |
getValueProperty()
Returns the rdf:value property. This is a shortcut for getProperty(XMPConstants.RDF_VALUE). |
java.util.Iterator |
iterator()
Returns an Iterator over all properties in this structured property. |
XMPProperty |
removeProperty(QName name)
Removes a property and returns it if it was found. |
void |
setProperty(XMPProperty prop)
Sets a property. |
void |
toSAX(org.xml.sax.ContentHandler handler)
Generates SAX events representing the object's state. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public XMPStructure()
| Method Detail |
public java.lang.Object getSimpleValue()
getSimpleValue in class XMPComplexValuepublic void setProperty(XMPProperty prop)
setProperty in interface PropertyAccessprop - the property
public XMPProperty getProperty(java.lang.String uri,
java.lang.String localName)
getProperty in interface PropertyAccessuri - the namespace URI of the propertylocalName - the local name of the property
public XMPProperty getValueProperty()
getValueProperty in interface PropertyAccesspublic XMPProperty getProperty(QName name)
getProperty in interface PropertyAccessname - the name of the property
public XMPProperty removeProperty(QName name)
removeProperty in interface PropertyAccessname - the name of the property
public int getPropertyCount()
getPropertyCount in interface PropertyAccesspublic java.util.Iterator iterator()
iterator in interface PropertyAccess
public void toSAX(org.xml.sax.ContentHandler handler)
throws org.xml.sax.SAXException
toSAX in interface XMLizablehandler - ContentHandler instance to send the SAX events to
org.xml.sax.SAXException - if there's a problem generating the SAX eventspublic java.lang.String toString()
|
xmlgraphics-commons 1.4 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||