@ Override public ValidationMessage [ ] validate ( String prefix , String uri , PageData page ) { try { MyContentHandler handler = new MyContentHandler ( ) ; parser . parse ( page , handler ) ; return handler . reportResults ( ) ; } catch ( ParserConfigurationException e ) { return vmFromString ( e . toString ( ) ) ; } catch ( SAXException e ) { return vmFromString ( e . toString ( ) ) ; } catch ( IOException e ) { return vmFromString ( e . toString ( ) ) ; } }
Validates a single JSP page .