|
xmlgraphics-commons 1.3 | |||||||||
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(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. |
java.util.Iterator |
iterator()
Returns an Iterator over all properties in this structured property. |
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 XMPComplexValue
public void setProperty(XMPProperty prop)
setProperty
in interface PropertyAccess
prop
- the propertypublic XMPProperty getProperty(java.lang.String uri, java.lang.String localName)
getProperty
in interface PropertyAccess
uri
- the namespace URI of the propertylocalName
- the local name of the property
public XMPProperty getValueProperty()
getValueProperty
in interface PropertyAccess
public XMPProperty getProperty(QName name)
getProperty
in interface PropertyAccess
name
- the name of the property
public int getPropertyCount()
getPropertyCount
in interface PropertyAccess
public java.util.Iterator iterator()
iterator
in interface PropertyAccess
public void toSAX(org.xml.sax.ContentHandler handler) throws org.xml.sax.SAXException
toSAX
in interface XMLizable
handler
- 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()
toString
in class java.lang.Object
|
xmlgraphics-commons 1.3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |