org.bibalex.daf.handlers.xmlhandler
Class SchemaValidator.Validator

java.lang.Object
  extended by org.xml.sax.helpers.DefaultHandler
      extended by org.bibalex.daf.handlers.xmlhandler.SchemaValidator.Validator
All Implemented Interfaces:
org.xml.sax.ContentHandler, org.xml.sax.DTDHandler, org.xml.sax.EntityResolver, org.xml.sax.ErrorHandler
Enclosing class:
SchemaValidator

private class SchemaValidator.Validator
extends org.xml.sax.helpers.DefaultHandler


Field Summary
 org.xml.sax.SAXParseException saxParseException
          The exception, if any, that happened during validation.
 boolean validationError
          Whether an error has occurred whiler validaing the document or not.
 
Constructor Summary
private SchemaValidator.Validator()
           
 
Method Summary
 void error(org.xml.sax.SAXParseException exception)
           
 void fatalError(org.xml.sax.SAXParseException exception)
           
 void warning(org.xml.sax.SAXParseException exception)
           
 
Methods inherited from class org.xml.sax.helpers.DefaultHandler
characters, endDocument, endElement, endPrefixMapping, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startElement, startPrefixMapping, unparsedEntityDecl
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

validationError

public boolean validationError
Whether an error has occurred whiler validaing the document or not.


saxParseException

public org.xml.sax.SAXParseException saxParseException
The exception, if any, that happened during validation.

Constructor Detail

SchemaValidator.Validator

private SchemaValidator.Validator()
Method Detail

error

public void error(org.xml.sax.SAXParseException exception)
           throws org.xml.sax.SAXException
Specified by:
error in interface org.xml.sax.ErrorHandler
Overrides:
error in class org.xml.sax.helpers.DefaultHandler
Throws:
org.xml.sax.SAXException

fatalError

public void fatalError(org.xml.sax.SAXParseException exception)
                throws org.xml.sax.SAXException
Specified by:
fatalError in interface org.xml.sax.ErrorHandler
Overrides:
fatalError in class org.xml.sax.helpers.DefaultHandler
Throws:
org.xml.sax.SAXException

warning

public void warning(org.xml.sax.SAXParseException exception)
             throws org.xml.sax.SAXException
Specified by:
warning in interface org.xml.sax.ErrorHandler
Overrides:
warning in class org.xml.sax.helpers.DefaultHandler
Throws:
org.xml.sax.SAXException