Package org.docx4j
Class XmlUtils.LoggingErrorListener
java.lang.Object
org.docx4j.XmlUtils.LoggingErrorListener
- All Implemented Interfaces:
ErrorListener
- Enclosing class:
- XmlUtils
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiderror(TransformerException exception) voidfatalError(TransformerException exception) voidwarning(TransformerException exception)
-
Field Details
-
strict
boolean strict
-
-
Constructor Details
-
LoggingErrorListener
public LoggingErrorListener(boolean strict)
-
-
Method Details
-
warning
- Specified by:
warningin interfaceErrorListener
-
error
- Specified by:
errorin interfaceErrorListener- Throws:
TransformerException
-
fatalError
- Specified by:
fatalErrorin interfaceErrorListener- Throws:
TransformerException
-