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, warning
public boolean isPdfaCompliant()
public void processingInstruction(String target, String data) throws SAXException
processingInstruction
in interface ContentHandler
processingInstruction
in class org.xml.sax.helpers.DefaultHandler
SAXException
public void startElement(String namespaceURI, String localName, String rawName, Attributes atts) throws SAXException
startElement
in interface ContentHandler
startElement
in class org.xml.sax.helpers.DefaultHandler
SAXException
public void endElement(String namespaceURI, String localName, String rawName) throws SAXException
endElement
in interface ContentHandler
endElement
in class org.xml.sax.helpers.DefaultHandler
SAXException
public void fatalError(SAXParseException exception) throws SAXException
fatalError
in interface ErrorHandler
fatalError
in class org.xml.sax.helpers.DefaultHandler
SAXException
Copyright © 2008–2017 The Open Preservation Foundation. All rights reserved.