public class XMPHandler extends org.xml.sax.helpers.DefaultHandler
| Constructor and Description |
|---|
XMPHandler() |
| Modifier and Type | Method and Description |
|---|---|
void |
endElement(String namespaceURI,
String localName,
String rawName)
Catches the end of an element.
|
void |
fatalError(SAXParseException exception)
Catch a fatal error.
|
boolean |
isPdfaCompliant()
Returns true if no violations of PDF/A compliance have been found,
false if a problem was detected.
|
void |
processingInstruction(String target,
String data) |
void |
startElement(String namespaceURI,
String localName,
String rawName,
Attributes atts)
Catches the start of an element and, if it's one we care
about, sets state information.
|
characters, endDocument, endPrefixMapping, error, ignorableWhitespace, notationDecl, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warningpublic boolean isPdfaCompliant()
public void processingInstruction(String target, String data) throws SAXException
processingInstruction in interface ContentHandlerprocessingInstruction in class org.xml.sax.helpers.DefaultHandlerSAXExceptionpublic void startElement(String namespaceURI, String localName, String rawName, Attributes atts) throws SAXException
startElement in interface ContentHandlerstartElement in class org.xml.sax.helpers.DefaultHandlerSAXExceptionpublic void endElement(String namespaceURI, String localName, String rawName) throws SAXException
endElement in interface ContentHandlerendElement in class org.xml.sax.helpers.DefaultHandlerSAXExceptionpublic void fatalError(SAXParseException exception) throws SAXException
fatalError in interface ErrorHandlerfatalError in class org.xml.sax.helpers.DefaultHandlerSAXExceptionCopyright © 2008–2017 The Open Preservation Foundation. All rights reserved.