public class XMPContentHandler extends SafeContentHandler
SafeContentHandler.Output| Modifier and Type | Field and Description |
|---|---|
static String |
RDF
The RDF namespace URI
|
static String |
XMP
The XMP namespace URI
|
| Constructor and Description |
|---|
XMPContentHandler(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(String name,
String value) |
void |
startDescription(String about,
String prefix,
String uri) |
void |
startDocument()
Starts an XMP document by setting up the namespace mappings and
writing out the following header:
|
characters, endElement, ignorableWhitespace, isInvalid, startElement, writeReplacementendPrefixMapping, handleException, processingInstruction, setContentHandler, setDocumentLocator, skippedEntity, startPrefixMapping, toStringerror, fatalError, notationDecl, resolveEntity, unparsedEntityDecl, warningpublic static final String RDF
public static final String XMP
public XMPContentHandler(ContentHandler handler)
public void startDocument()
throws SAXException
<rdf:RDF>
startDocument in interface ContentHandlerstartDocument in class ContentHandlerDecoratorSAXExceptionpublic void endDocument()
throws SAXException
</rdf:RDF>
endDocument in interface ContentHandlerendDocument in class SafeContentHandlerSAXExceptionpublic void startDescription(String about, String prefix, String uri) throws SAXException
SAXExceptionpublic void endDescription()
throws SAXException
SAXExceptionpublic void property(String name, String value) throws SAXException
SAXExceptionpublic void metadata(Metadata metadata) throws SAXException
SAXExceptionCopyright © 2007–2021 The Apache Software Foundation. All rights reserved.