|
xmlgraphics-commons 2.0.1 | |||||||||
| 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
public class 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(String uri,
String localName)
Returns a property |
int |
getPropertyCount()
Returns the number of properties. |
Object |
getSimpleValue()
Returns a normal Java object representing the value if it is available. |
XMPProperty |
getValueProperty()
Returns the rdf:value property. |
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(ContentHandler handler)
Generates SAX events representing the object's state. |
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 Object getSimpleValue()
getSimpleValue in class XMPComplexValuepublic void setProperty(XMPProperty prop)
setProperty in interface PropertyAccessprop - the property
public XMPProperty getProperty(String uri,
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 Iterator iterator()
iterator in interface PropertyAccess
public void toSAX(ContentHandler handler)
throws SAXException
toSAX in interface XMLizablehandler - ContentHandler instance to send the SAX events to
SAXException - if there's a problem generating the SAX eventspublic String toString()
toString in class Object
|
xmlgraphics-commons 2.0.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||