com.thaiopensource.relaxng.jarv
Class VerifierHandlerImpl
java.lang.Object
com.thaiopensource.relaxng.parse.sax.DtdContext
com.thaiopensource.relaxng.impl.PatternValidator
com.thaiopensource.relaxng.jarv.VerifierHandlerImpl
- All Implemented Interfaces:
- Validator, org.iso_relax.verifier.VerifierHandler, ValidationContext, ContentHandler, DTDHandler
class VerifierHandlerImpl
- extends PatternValidator
- implements org.iso_relax.verifier.VerifierHandler
Methods inherited from class com.thaiopensource.relaxng.impl.PatternValidator |
addDatatypeError, characters, endElement, endPrefixMapping, getBaseUri, getContentHandler, getDTDHandler, ignorableWhitespace, processingInstruction, resolveNamespacePrefix, setDocumentLocator, skippedEntity, startDocument, startElement, startPrefixMapping |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
complete
private boolean complete
ceh
private final CountingErrorHandler ceh
VerifierHandlerImpl
VerifierHandlerImpl(Pattern pattern,
ValidatorPatternBuilder builder,
CountingErrorHandler ceh)
endDocument
public void endDocument()
- Specified by:
endDocument
in interface ContentHandler
- Overrides:
endDocument
in class PatternValidator
isValid
public boolean isValid()
throws IllegalStateException
- Specified by:
isValid
in interface org.iso_relax.verifier.VerifierHandler
- Throws:
IllegalStateException
setErrorHandler
void setErrorHandler(ErrorHandler eh)
reset
public void reset()
- Description copied from interface:
Validator
- Cleans up after validating a document. After completing validation
of a document,
reset
must be called. After calling
reset(), another document may be validated. Calling this method
may create new ContentHandler and DTDHandler objects or may simply
reinitialize the state of the existing objects.
- Specified by:
reset
in interface Validator
- Overrides:
reset
in class PatternValidator