org.apache.fop.fo.extensions.xmp
Class XMPMetadata
java.lang.Object
org.apache.fop.fo.extensions.xmp.XMPMetadata
- ExtensionAttachment, Serializable, XMLizable
public class XMPMetadata
extends java.lang.Object
This is the pass-through value object for the XMP metadata extension.
static String | CATEGORY - The category URI for this extension attachment.
|
CATEGORY
public static final String CATEGORY
The category URI for this extension attachment.
XMPMetadata
public XMPMetadata()
No-argument contructor.
XMPMetadata
public XMPMetadata(Metadata metadata)
Default constructor.
metadata
- the XMP metadata
getMetadata
public Metadata getMetadata()
isReadOnly
public boolean isReadOnly()
- true if the XMP metadata is marked read-only.
setMetadata
public void setMetadata(Metadata metadata)
Sets the XMP metadata.
metadata
- the XMP metadata
setReadOnly
public void setReadOnly(boolean readOnly)
Sets the flag that decides whether a metadata packet may be modified.
readOnly
- true if the XMP metadata packet should be marked read-only.
toSAX
public void toSAX(ContentHandler handler)
throws SAXException
Copyright 1999-2008 The Apache Software Foundation. All Rights Reserved.