static class PageDataImpl.SecondPassVisitor extends Node.Visitor implements TagConstants
| Modifier and Type | Field and Description |
|---|---|
private java.lang.StringBuilder |
buf |
private Compiler |
compiler |
private int |
jspId |
private java.lang.String |
jspIdPrefix |
private boolean |
resetDefaultNS |
private Node.Root |
root |
ATTRIBUTE_ACTION, ATTRIBUTE_DIRECTIVE_ACTION, BODY_ACTION, DECLARATION_ACTION, DIRECTIVE_ACTION, DOBODY_ACTION, ELEMENT_ACTION, EXPRESSION_ACTION, FALLBACK_ACTION, FORWARD_ACTION, GET_PROPERTY_ACTION, INCLUDE_ACTION, INCLUDE_DIRECTIVE_ACTION, INVOKE_ACTION, JSP_ATTRIBUTE_ACTION, JSP_ATTRIBUTE_DIRECTIVE_ACTION, JSP_BODY_ACTION, JSP_DECLARATION_ACTION, JSP_DOBODY_ACTION, JSP_ELEMENT_ACTION, JSP_EXPRESSION_ACTION, JSP_FALLBACK_ACTION, JSP_FORWARD_ACTION, JSP_GET_PROPERTY_ACTION, JSP_INCLUDE_ACTION, JSP_INCLUDE_DIRECTIVE_ACTION, JSP_INVOKE_ACTION, JSP_OUTPUT_ACTION, JSP_PAGE_DIRECTIVE_ACTION, JSP_PARAM_ACTION, JSP_PARAMS_ACTION, JSP_PLUGIN_ACTION, JSP_ROOT_ACTION, JSP_SCRIPTLET_ACTION, JSP_SET_PROPERTY_ACTION, JSP_TAG_DIRECTIVE_ACTION, JSP_TAGLIB_DIRECTIVE_ACTION, JSP_TEXT_ACTION, JSP_TEXT_ACTION_END, JSP_URI, JSP_USE_BEAN_ACTION, JSP_VARIABLE_DIRECTIVE_ACTION, OUTPUT_ACTION, PAGE_DIRECTIVE_ACTION, PARAM_ACTION, PARAMS_ACTION, PLUGIN_ACTION, ROOT_ACTION, SCRIPTLET_ACTION, SET_PROPERTY_ACTION, TAG_DIRECTIVE_ACTION, TAGLIB_DIRECTIVE_ACTION, TEXT_ACTION, URN_JSPTAGDIR, URN_JSPTLD, USE_BEAN_ACTION, VARIABLE_DIRECTIVE_ACTION| Constructor and Description |
|---|
SecondPassVisitor(Node.Root root,
java.lang.StringBuilder buf,
Compiler compiler,
java.lang.String jspIdPrefix) |
private Node.Root root
private java.lang.StringBuilder buf
private Compiler compiler
private java.lang.String jspIdPrefix
private boolean resetDefaultNS
private int jspId
public void visit(Node.Root n) throws JasperException
visit in class Node.VisitorJasperExceptionpublic void visit(Node.JspRoot n) throws JasperException
visit in class Node.VisitorJasperExceptionpublic void visit(Node.PageDirective n) throws JasperException
visit in class Node.VisitorJasperExceptionpublic void visit(Node.IncludeDirective n) throws JasperException
visit in class Node.VisitorJasperExceptionpublic void visit(Node.Comment n) throws JasperException
visit in class Node.VisitorJasperExceptionpublic void visit(Node.Declaration n) throws JasperException
visit in class Node.VisitorJasperExceptionpublic void visit(Node.Expression n) throws JasperException
visit in class Node.VisitorJasperExceptionpublic void visit(Node.Scriptlet n) throws JasperException
visit in class Node.VisitorJasperExceptionpublic void visit(Node.JspElement n) throws JasperException
visit in class Node.VisitorJasperExceptionpublic void visit(Node.ELExpression n) throws JasperException
visit in class Node.VisitorJasperExceptionpublic void visit(Node.IncludeAction n) throws JasperException
visit in class Node.VisitorJasperExceptionpublic void visit(Node.ForwardAction n) throws JasperException
visit in class Node.VisitorJasperExceptionpublic void visit(Node.GetProperty n) throws JasperException
visit in class Node.VisitorJasperExceptionpublic void visit(Node.SetProperty n) throws JasperException
visit in class Node.VisitorJasperExceptionpublic void visit(Node.ParamAction n) throws JasperException
visit in class Node.VisitorJasperExceptionpublic void visit(Node.ParamsAction n) throws JasperException
visit in class Node.VisitorJasperExceptionpublic void visit(Node.FallBackAction n) throws JasperException
visit in class Node.VisitorJasperExceptionpublic void visit(Node.UseBean n) throws JasperException
visit in class Node.VisitorJasperExceptionpublic void visit(Node.PlugIn n) throws JasperException
visit in class Node.VisitorJasperExceptionpublic void visit(Node.NamedAttribute n) throws JasperException
visit in class Node.VisitorJasperExceptionpublic void visit(Node.JspBody n) throws JasperException
visit in class Node.VisitorJasperExceptionpublic void visit(Node.CustomTag n) throws JasperException
visit in class Node.VisitorJasperExceptionpublic void visit(Node.UninterpretedTag n) throws JasperException
visit in class Node.VisitorJasperExceptionpublic void visit(Node.JspText n) throws JasperException
visit in class Node.VisitorJasperExceptionpublic void visit(Node.DoBodyAction n) throws JasperException
visit in class Node.VisitorJasperExceptionpublic void visit(Node.InvokeAction 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.VisitorJasperExceptionpublic void visit(Node.TemplateText n) throws JasperException
visit in class Node.VisitorJasperExceptionprivate void appendTag(Node n) throws JasperException
JasperExceptionprivate void appendTag(Node n, boolean addDefaultNS) throws JasperException
JasperExceptionprivate void appendPageDirective(Node.PageDirective n)
private void appendPageDirective()
private void appendTagDirective(Node.TagDirective n) throws JasperException
JasperExceptionprivate void appendTagDirective()
private void appendText(java.lang.String text,
boolean createJspTextElement)
private void appendCDATA(java.lang.String text)
private java.lang.String escapeCDATA(java.lang.String text)
private void printAttributes(Node n, boolean addDefaultNS)
private void appendXmlProlog()