|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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.
Method Summary | |
boolean |
isValid()
Checks if the document was valid. |
Methods inherited from interface org.xml.sax.ContentHandler |
characters, endDocument, endElement, endPrefixMapping, ignorableWhitespace, processingInstruction, setDocumentLocator, skippedEntity, startDocument, startElement, startPrefixMapping |
Method Detail |
public boolean isValid() throws java.lang.IllegalStateException
This method can be only called after this handler receives
the endDocument
event.
If you need to know the error at an earlier moment,
you should set an error handler to Verifier
.
java.lang.IllegalStateException
- If this method is called before the endDocument event is dispatched.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |