|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectbe.ehealth.technicalconnector.validator.impl.handler.ErrorCollectorHandler
public class ErrorCollectorHandler
This class will collect all the SAXParseExceptions throws by xml validation.
Field Summary | |
---|---|
static String |
ERROR
ERROR of type ERROR. |
static String |
FATAL
ERROR of type FATAL. |
static String |
WARNING
ERROR of type WARNING. |
Constructor Summary | |
---|---|
ErrorCollectorHandler()
|
|
ErrorCollectorHandler(XOPValidationHandler xopHandler)
|
Method Summary | |
---|---|
void |
error(SAXParseException exception)
|
void |
fatalError(SAXParseException exception)
|
List<String> |
getExceptionList(String... errorType)
This method will return the List of exceptions for the given errorTypes. |
boolean |
hasExceptions(String... errorType)
This method will check if the requested errorType has Exception. |
void |
warning(SAXParseException exception)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String WARNING
public static final String ERROR
public static final String FATAL
Constructor Detail |
---|
public ErrorCollectorHandler()
public ErrorCollectorHandler(XOPValidationHandler xopHandler)
Method Detail |
---|
public void warning(SAXParseException exception) throws SAXException
warning
in interface ErrorHandler
SAXException
public void error(SAXParseException exception) throws SAXException
error
in interface ErrorHandler
SAXException
public void fatalError(SAXParseException exception) throws SAXException
fatalError
in interface ErrorHandler
SAXException
public final List<String> getExceptionList(String... errorType)
public final boolean hasExceptions(String... errorType)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |