public abstract class AbstractXmlHandler extends AbstractBatchHandler
| Modifier and Type | Field and Description |
|---|---|
protected static String |
strmExcpMessTmpl |
protected static String |
unmarshalErrMessage |
protected XMLStreamWriter |
writer |
protected static String |
writingMessage |
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractXmlHandler(Writer dest) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addAttribute(String name,
String value) |
void |
close() |
protected static void |
endDoc(XMLStreamWriter writer) |
protected static void |
newLine(XMLStreamWriter writer) |
protected <T> void |
serialseElement(T obj,
String eleName,
boolean format,
boolean fragment) |
protected static void |
startDoc(XMLStreamWriter writer) |
protected static VeraPDFException |
wrapMarshallException(JAXBException excep,
String typePart) |
protected static VeraPDFException |
wrapStreamException(XMLStreamException excep) |
protected static VeraPDFException |
wrapStreamException(XMLStreamException excep,
String verbPart) |
handleResultclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waithandleBatchEnd, handleBatchStartprotected static final String strmExcpMessTmpl
protected static final String unmarshalErrMessage
protected static final String writingMessage
protected XMLStreamWriter writer
protected AbstractXmlHandler(Writer dest) throws VeraPDFException
VeraPDFExceptionprotected <T> void serialseElement(T obj,
String eleName,
boolean format,
boolean fragment)
throws VeraPDFException
VeraPDFExceptionpublic void close()
protected static void startDoc(XMLStreamWriter writer) throws XMLStreamException
XMLStreamExceptionprotected static void endDoc(XMLStreamWriter writer) throws XMLStreamException
XMLStreamExceptionprotected void addAttribute(String name, String value) throws XMLStreamException
XMLStreamExceptionprotected static void newLine(XMLStreamWriter writer) throws XMLStreamException
XMLStreamExceptionprotected static VeraPDFException wrapStreamException(XMLStreamException excep)
protected static VeraPDFException wrapStreamException(XMLStreamException excep, String verbPart)
protected static final VeraPDFException wrapMarshallException(JAXBException excep, String typePart)
Copyright © 2015–2018 The veraPDF Consortium. All rights reserved.