Package net.loomchild.segment.util
Class TransformationErrorListener
java.lang.Object
net.loomchild.segment.util.TransformationErrorListener
- All Implemented Interfaces:
ErrorListener
Handles XML transformation errors by writing them to logr.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
error
(TransformerException exception) void
fatalError
(TransformerException exception) void
warning
(TransformerException exception)
-
Field Details
-
log
private static final org.apache.commons.logging.Log log
-
-
Constructor Details
-
TransformationErrorListener
public TransformationErrorListener()
-
-
Method Details
-
warning
- Specified by:
warning
in interfaceErrorListener
-
error
- Specified by:
error
in interfaceErrorListener
- Throws:
TransformerException
-
fatalError
- Specified by:
fatalError
in interfaceErrorListener
- Throws:
TransformerException
-