Package org.apache.jasper.compiler
Class Validator
java.lang.Object
org.apache.jasper.compiler.Validator
Performs validation on the page elements. Attributes are checked for
mandatory presence, entry value validity, and consistency. As a
side effect, some page global value (such as those from page directives)
are stored, for later use.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescription(package private) static class
A visitor to validate and extract page directive info(package private) static class
A visitor for validating TagExtraInfo classes of all tags(package private) static class
A visitor for validating nodes other than page directives -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
validate
(Compiler compiler, Node.Nodes page) private static void
validateXmlView
(javax.servlet.jsp.tagext.PageData xmlView, Compiler compiler) Validate XML view against the TagLibraryValidator classes of all imported tag libraries.
-
Constructor Details
-
Validator
Validator()
-
-
Method Details
-
validate
- Throws:
JasperException
-
validateXmlView
private static void validateXmlView(javax.servlet.jsp.tagext.PageData xmlView, Compiler compiler) throws JasperException Validate XML view against the TagLibraryValidator classes of all imported tag libraries.- Throws:
JasperException
-