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, writeReplacement
endPrefixMapping, handleException, processingInstruction, setContentHandler, setDocumentLocator, skippedEntity, startPrefixMapping, toString
error, fatalError, notationDecl, resolveEntity, unparsedEntityDecl, warning
public static final String RDF
public static final String XMP
public XMPContentHandler(ContentHandler handler)
public void startDocument() throws SAXException
<rdf:RDF>
startDocument
in interface ContentHandler
startDocument
in class ContentHandlerDecorator
SAXException
public void endDocument() throws SAXException
</rdf:RDF>
endDocument
in interface ContentHandler
endDocument
in class SafeContentHandler
SAXException
public void startDescription(String about, String prefix, String uri) throws SAXException
SAXException
public void endDescription() throws SAXException
SAXException
public void property(String name, String value) throws SAXException
SAXException
public void metadata(Metadata metadata) throws SAXException
SAXException
Copyright © 2007–1969 The Apache Software Foundation. All rights reserved.