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, startElement
endPrefixMapping, processingInstruction, setDocumentLocator, skippedEntity, startPrefixMapping, toString
public 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.ContentHandler
startDocument
in class ContentHandlerDecorator
org.xml.sax.SAXException
public void endDocument() throws org.xml.sax.SAXException
</rdf:RDF>
endDocument
in interface org.xml.sax.ContentHandler
endDocument
in class SafeContentHandler
org.xml.sax.SAXException
public void startDescription(java.lang.String about, java.lang.String prefix, java.lang.String uri) throws org.xml.sax.SAXException
org.xml.sax.SAXException
public void endDescription() throws org.xml.sax.SAXException
org.xml.sax.SAXException
public void property(java.lang.String name, java.lang.String value) throws org.xml.sax.SAXException
org.xml.sax.SAXException
public void metadata(Metadata metadata) throws org.xml.sax.SAXException
org.xml.sax.SAXException
"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"