static class Validator.DirectiveVisitor extends Node.Visitor
| Modifier and Type | Field and Description |
|---|---|
private ErrorDispatcher |
err |
private static JspUtil.ValidAttribute[] |
pageDirectiveAttrs |
private boolean |
pageEncodingSeen |
private PageInfo |
pageInfo |
| Constructor and Description |
|---|
DirectiveVisitor(Compiler compiler) |
| Modifier and Type | Method and Description |
|---|---|
private void |
comparePageEncodings(java.lang.String pageDirEnc,
Node.PageDirective pageDir) |
void |
visit(Node.AttributeDirective n) |
void |
visit(Node.IncludeDirective n) |
void |
visit(Node.PageDirective n) |
void |
visit(Node.TagDirective n) |
void |
visit(Node.VariableDirective n) |
private PageInfo pageInfo
private ErrorDispatcher err
private static final JspUtil.ValidAttribute[] pageDirectiveAttrs
private boolean pageEncodingSeen
DirectiveVisitor(Compiler compiler) throws JasperException
JasperExceptionpublic void visit(Node.IncludeDirective n) throws JasperException
visit in class Node.VisitorJasperExceptionpublic void visit(Node.PageDirective n) throws JasperException
visit in class Node.VisitorJasperExceptionpublic void visit(Node.TagDirective n) throws JasperException
visit in class Node.VisitorJasperExceptionpublic void visit(Node.AttributeDirective n) throws JasperException
visit in class Node.VisitorJasperExceptionpublic void visit(Node.VariableDirective n) throws JasperException
visit in class Node.VisitorJasperExceptionprivate void comparePageEncodings(java.lang.String pageDirEnc,
Node.PageDirective pageDir)
throws JasperException
JasperException