|
fop 0.92beta | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.fop.fo.extensions.xmp.XMPMetadata
This is the pass-through value object for the XMP metadata extension.
Field Summary | |
static java.lang.String |
CATEGORY
The category URI for this extension attachment. |
Constructor Summary | |
XMPMetadata()
No-argument contructor. |
|
XMPMetadata(org.w3c.dom.Document doc)
Default constructor. |
Method Summary | |
java.lang.String |
getCategory()
This method returns a category URI that allows a processor (layout manager or renderer) to determine if it supports this object. |
org.w3c.dom.Document |
getDocument()
|
boolean |
isReadOnly()
|
void |
setDocument(org.w3c.dom.Document document)
Sets the DOM document containing the XMP metadata. |
void |
setReadOnly(boolean readOnly)
Sets the flag that decides whether a metadata packet may be modified. |
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 |
Field Detail |
public static final java.lang.String CATEGORY
Constructor Detail |
public XMPMetadata()
public XMPMetadata(org.w3c.dom.Document doc)
doc
- the DOM document containing the XMP metadataMethod Detail |
public org.w3c.dom.Document getDocument()
public void setDocument(org.w3c.dom.Document document)
document
- the DOM documentpublic boolean isReadOnly()
public void setReadOnly(boolean readOnly)
readOnly
- true if the XMP metadata packet should be marked read-only.public java.lang.String getCategory()
ExtensionAttachment
getCategory
in interface ExtensionAttachment
ExtensionAttachment.getCategory()
public void toSAX(org.xml.sax.ContentHandler handler) throws org.xml.sax.SAXException
XMLizable
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 eventsXMLizable.toSAX(org.xml.sax.ContentHandler)
|
fop 0.92beta | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |