public static class XMLValidator.ValidationHandler extends org.xml.sax.helpers.DefaultHandler
Constructor and Description |
---|
XMLValidator.ValidationHandler() |
Modifier and Type | Method and Description |
---|---|
boolean |
assertValid() |
void |
error(SAXParseException e) |
void |
fatalError(SAXParseException e) |
ArrayList<SAXParseException> |
getErrors() |
characters, endDocument, endElement, endPrefixMapping, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startElement, startPrefixMapping, unparsedEntityDecl, warning
public void error(SAXParseException e) throws SAXException
error
in interface ErrorHandler
error
in class org.xml.sax.helpers.DefaultHandler
SAXException
public boolean assertValid()
public ArrayList<SAXParseException> getErrors()
public void fatalError(SAXParseException e) throws SAXException
fatalError
in interface ErrorHandler
fatalError
in class org.xml.sax.helpers.DefaultHandler
SAXException
Copyright © 2015 Neuroinformatics Research Group. All rights reserved.