org.iso_relax.verifier

Interface VerifierFilter

All Superinterfaces:
XMLFilter
Known Implementing Classes:
VerifierFilterImpl

public interface VerifierFilter
extends XMLFilter

XMLFilter implementation that validates a document.

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

The implementation validates incoming SAX events and then pass it to the successive SAX handlers.

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
checks if the document was valid.

This method can be only called after this handler receives the endDocument event.

Returns:
true if the document was valid, false if not.