private static class TagFileProcessor.TagFileDirectiveVisitor extends Node.Visitor
Modifier and Type | Class and Description |
---|---|
private static class |
TagFileProcessor.TagFileDirectiveVisitor.Name |
(package private) static class |
TagFileProcessor.TagFileDirectiveVisitor.NameEntry |
Modifier and Type | Field and Description |
---|---|
private static JspUtil.ValidAttribute[] |
attributeDirectiveAttrs |
private java.util.List<javax.servlet.jsp.tagext.TagAttributeInfo> |
attributeVector |
private java.lang.String |
bodycontent |
private java.lang.String |
description |
private java.lang.String |
displayName |
private java.lang.String |
dynamicAttrsMapName |
private ErrorDispatcher |
err |
private java.lang.String |
example |
private java.lang.Double |
jspVersionDouble |
private java.lang.String |
largeIcon |
private java.lang.String |
name |
private java.util.HashMap<java.lang.String,TagFileProcessor.TagFileDirectiveVisitor.NameEntry> |
nameFromTable |
private java.util.HashMap<java.lang.String,TagFileProcessor.TagFileDirectiveVisitor.NameEntry> |
nameTable |
private java.lang.String |
path |
private java.lang.String |
smallIcon |
private static JspUtil.ValidAttribute[] |
tagDirectiveAttrs |
private javax.servlet.jsp.tagext.TagLibraryInfo |
tagLibInfo |
private javax.servlet.jsp.tagext.TagExtraInfo |
tei |
private static JspUtil.ValidAttribute[] |
variableDirectiveAttrs |
private java.util.List<javax.servlet.jsp.tagext.TagVariableInfo> |
variableVector |
Constructor and Description |
---|
TagFileDirectiveVisitor(Compiler compiler,
javax.servlet.jsp.tagext.TagLibraryInfo tagLibInfo,
java.lang.String name,
java.lang.String path) |
Modifier and Type | Method and Description |
---|---|
private java.lang.String |
checkConflict(Node n,
java.lang.String oldAttrValue,
java.lang.String attr) |
private void |
checkUniqueName(java.lang.String name,
TagFileProcessor.TagFileDirectiveVisitor.Name type,
Node n)
Reports a translation error if names specified in attributes of
directives are not unique in this translation unit.
|
private void |
checkUniqueName(java.lang.String name,
TagFileProcessor.TagFileDirectiveVisitor.Name type,
Node n,
javax.servlet.jsp.tagext.TagAttributeInfo attr) |
javax.servlet.jsp.tagext.TagInfo |
getTagInfo() |
(package private) void |
postCheck()
Perform miscelleaneous checks after the nodes are visited.
|
void |
visit(Node.AttributeDirective n) |
void |
visit(Node.JspRoot n) |
void |
visit(Node.TagDirective n) |
void |
visit(Node.VariableDirective n) |
private static final JspUtil.ValidAttribute[] tagDirectiveAttrs
private static final JspUtil.ValidAttribute[] attributeDirectiveAttrs
private static final JspUtil.ValidAttribute[] variableDirectiveAttrs
private ErrorDispatcher err
private javax.servlet.jsp.tagext.TagLibraryInfo tagLibInfo
private java.lang.String name
private java.lang.String path
private javax.servlet.jsp.tagext.TagExtraInfo tei
private java.lang.String bodycontent
private java.lang.String description
private java.lang.String displayName
private java.lang.String smallIcon
private java.lang.String largeIcon
private java.lang.String dynamicAttrsMapName
private java.lang.String example
private java.util.List<javax.servlet.jsp.tagext.TagAttributeInfo> attributeVector
private java.util.List<javax.servlet.jsp.tagext.TagVariableInfo> variableVector
private java.util.HashMap<java.lang.String,TagFileProcessor.TagFileDirectiveVisitor.NameEntry> nameTable
private java.util.HashMap<java.lang.String,TagFileProcessor.TagFileDirectiveVisitor.NameEntry> nameFromTable
private java.lang.Double jspVersionDouble
public TagFileDirectiveVisitor(Compiler compiler, javax.servlet.jsp.tagext.TagLibraryInfo tagLibInfo, java.lang.String name, java.lang.String path)
public void visit(Node.JspRoot n) throws JasperException
visit
in class Node.Visitor
JasperException
public void visit(Node.TagDirective n) throws JasperException
visit
in class Node.Visitor
JasperException
private java.lang.String checkConflict(Node n, java.lang.String oldAttrValue, java.lang.String attr) throws JasperException
JasperException
public void visit(Node.AttributeDirective n) throws JasperException
visit
in class Node.Visitor
JasperException
public void visit(Node.VariableDirective n) throws JasperException
visit
in class Node.Visitor
JasperException
public javax.servlet.jsp.tagext.TagInfo getTagInfo() throws JasperException
JasperException
private void checkUniqueName(java.lang.String name, TagFileProcessor.TagFileDirectiveVisitor.Name type, Node n) throws JasperException
JasperException
private void checkUniqueName(java.lang.String name, TagFileProcessor.TagFileDirectiveVisitor.Name type, Node n, javax.servlet.jsp.tagext.TagAttributeInfo attr) throws JasperException
JasperException
void postCheck() throws JasperException
JasperException