Package org.frankframework.validation
Class XmlValidatorErrorHandler
java.lang.Object
org.frankframework.validation.XmlValidatorErrorHandler
- All Implemented Interfaces:
ErrorHandler
-
Nested Class Summary
-
Constructor Summary
ConstructorDescriptionXmlValidatorErrorHandler
(XmlValidatorContentHandler xmlValidatorContentHandler, String mainMessage) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
addReason
(String message, String xpath, String location, XmlValidatorErrorHandler.ReasonType reasonType) protected void
addReason
(Throwable t, XmlValidatorErrorHandler.ReasonType reasonType) void
error
(SAXParseException exception) void
fatalError
(SAXParseException exception) boolean
boolean
void
warning
(SAXParseException exception)
-
Constructor Details
-
XmlValidatorErrorHandler
public XmlValidatorErrorHandler(XmlValidatorContentHandler xmlValidatorContentHandler, String mainMessage)
-
-
Method Details
-
addReason
protected void addReason(String message, String xpath, String location, XmlValidatorErrorHandler.ReasonType reasonType) -
addReason
-
warning
- Specified by:
warning
in interfaceErrorHandler
-
error
- Specified by:
error
in interfaceErrorHandler
-
fatalError
- Specified by:
fatalError
in interfaceErrorHandler
-
getXmlReasons
-
isWarningsOccurred
public boolean isWarningsOccurred() -
isErrorOccurred
public boolean isErrorOccurred() -
getReasons
-