public class XMPContentHandler extends SafeContentHandler
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
RDF
The RDF namespace URI
|
static java.lang.String |
XMP
The XMP namespace URI
|
| Constructor and Description |
|---|
XMPContentHandler(org.xml.sax.ContentHandler handler) |
| Modifier and Type | Method and Description |
|---|---|
void |
endDescription() |
void |
endDocument()
Ends the XMP document by writing the following footer and
clearing the namespace mappings:
|
void |
metadata(Metadata metadata) |
void |
property(java.lang.String name,
java.lang.String value) |
void |
startDescription(java.lang.String about,
java.lang.String prefix,
java.lang.String uri) |
void |
startDocument()
Starts an XMP document by setting up the namespace mappings and
writing out the following header:
|
characters, endElement, ignorableWhitespace, startElementendPrefixMapping, processingInstruction, setDocumentLocator, skippedEntity, startPrefixMapping, toStringpublic static final java.lang.String RDF
public static final java.lang.String XMP
public void startDocument()
throws org.xml.sax.SAXException
<rdf:RDF>
startDocument in interface org.xml.sax.ContentHandlerstartDocument in class ContentHandlerDecoratororg.xml.sax.SAXExceptionpublic void endDocument()
throws org.xml.sax.SAXException
</rdf:RDF>
endDocument in interface org.xml.sax.ContentHandlerendDocument in class SafeContentHandlerorg.xml.sax.SAXExceptionpublic void startDescription(java.lang.String about,
java.lang.String prefix,
java.lang.String uri)
throws org.xml.sax.SAXException
org.xml.sax.SAXExceptionpublic void endDescription()
throws org.xml.sax.SAXException
org.xml.sax.SAXExceptionpublic void property(java.lang.String name,
java.lang.String value)
throws org.xml.sax.SAXException
org.xml.sax.SAXExceptionpublic void metadata(Metadata metadata) throws org.xml.sax.SAXException
org.xml.sax.SAXExceptionCopyright © 2010 - 2023 Adobe. All Rights Reserved