org.iso_relax.verifier

Interface VerifierHandler

All Superinterfaces:
ContentHandler

public interface VerifierHandler
extends ContentHandler

SAX2 ContentHandler implementation that validates a document.

An instance of this interface can be obtained through the Verifier.getVerifierHandler() method.

The implementation validates incoming SAX events. The application can check the result by calling the isValid method.

Version:
Feb. 24, 2001
Author:
ASAMI, Tomoharu (asami@zeomtech.com)
Since:
Feb. 23, 2001

Method Summary

boolean
isValid()
Checks if the document was valid.

Method Details

isValid

public boolean isValid()
            throws IllegalStateException
Returns:
true if the document was valid, false if not.