|
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.Metadata
This class represents the root of an XMP metadata tree. It's more or less equivalent to the x:xmpmeta element together with its nested rdf:RDF element.
| Constructor Summary | |
Metadata()
|
|
| Method Summary | |
XMPProperty |
getProperty(QName name)
Returns a property. |
XMPProperty |
getProperty(java.lang.String uri,
java.lang.String localName)
Returns a property |
int |
getPropertyCount()
|
void |
mergeInto(Metadata target)
Merges this metadata object into a given target metadata object. |
void |
setProperty(XMPProperty prop)
Sets a 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 Metadata()
| Method Detail |
public void setProperty(XMPProperty prop)
prop - the property
public XMPProperty getProperty(java.lang.String uri,
java.lang.String localName)
uri - the namespace URI of the propertylocalName - the local name of the property
public XMPProperty getProperty(QName name)
name - the name of the property
public int getPropertyCount()
public void mergeInto(Metadata target)
target - the target metadata to merge the local metadata into
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 | ||||||||||