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 TypeMethodDescriptionvoiderror(TransformerException exception) voidfatalError(TransformerException exception) voidwarning(TransformerException exception)
-
Field Details
-
log
private static final org.apache.commons.logging.Log log
-
-
Constructor Details
-
TransformationErrorListener
public TransformationErrorListener()
-
-
Method Details
-
warning
- Specified by:
warningin interfaceErrorListener
-
error
- Specified by:
errorin interfaceErrorListener- Throws:
TransformerException
-
fatalError
- Specified by:
fatalErrorin interfaceErrorListener- Throws:
TransformerException
-