public class OutcomeValidator extends Object implements ErrorHandler
| Modifier and Type | Field and Description |
|---|---|
protected StringBuffer |
errors |
| Modifier | Constructor and Description |
|---|---|
protected |
OutcomeValidator() |
|
OutcomeValidator(Schema schema) |
| Modifier and Type | Method and Description |
|---|---|
void |
error(SAXParseException ex)
ErrorHandler for instances
|
void |
fatalError(SAXParseException ex) |
static OutcomeValidator |
getValidator(Outcome o) |
static OutcomeValidator |
getValidator(Schema schema) |
String |
validate(Document outcome) |
String |
validate(String outcome) |
void |
warning(SAXParseException ex) |
protected StringBuffer errors
protected OutcomeValidator()
public OutcomeValidator(Schema schema) throws InvalidDataException
InvalidDataExceptionpublic static OutcomeValidator getValidator(Outcome o) throws InvalidDataException, ObjectNotFoundException
public static OutcomeValidator getValidator(Schema schema) throws InvalidDataException
InvalidDataExceptionpublic void error(SAXParseException ex) throws SAXException
error in interface ErrorHandlerSAXExceptionpublic void fatalError(SAXParseException ex) throws SAXException
fatalError in interface ErrorHandlerSAXExceptionpublic void warning(SAXParseException ex) throws SAXException
warning in interface ErrorHandlerSAXExceptionCopyright © 1997–2020 CRISTAL-iSE. All rights reserved.