Package org.apache.jasper.compiler
Class TagPluginManager
- java.lang.Object
-
- org.apache.jasper.compiler.TagPluginManager
-
public class TagPluginManager extends java.lang.ObjectManages tag plugin optimizations.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) static classTagPluginManager.TagPluginContextImpl
-
Field Summary
Fields Modifier and Type Field Description private javax.servlet.ServletContextctxtprivate booleaninitializedprivate PageInfopageInfoprivate static java.lang.StringTAG_PLUGINS_ROOT_ELEMprivate static java.lang.StringTAG_PLUGINS_XMLprivate java.util.HashMap<java.lang.String,TagPlugin>tagPlugins
-
Constructor Summary
Constructors Constructor Description TagPluginManager(javax.servlet.ServletContext ctxt)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidapply(Node.Nodes page, ErrorDispatcher err, PageInfo pageInfo)private voidinit(ErrorDispatcher err)private voidinvokePlugin(Node.CustomTag n)Invoke tag plugin for the given custom tag, if a plugin exists for the custom tag's tag handler.
-
-
-
Field Detail
-
TAG_PLUGINS_XML
private static final java.lang.String TAG_PLUGINS_XML
- See Also:
- Constant Field Values
-
TAG_PLUGINS_ROOT_ELEM
private static final java.lang.String TAG_PLUGINS_ROOT_ELEM
- See Also:
- Constant Field Values
-
initialized
private boolean initialized
-
tagPlugins
private java.util.HashMap<java.lang.String,TagPlugin> tagPlugins
-
ctxt
private javax.servlet.ServletContext ctxt
-
pageInfo
private PageInfo pageInfo
-
-
Method Detail
-
apply
public void apply(Node.Nodes page, ErrorDispatcher err, PageInfo pageInfo) throws JasperException
- Throws:
JasperException
-
init
private void init(ErrorDispatcher err) throws JasperException
- Throws:
JasperException
-
invokePlugin
private void invokePlugin(Node.CustomTag n)
Invoke tag plugin for the given custom tag, if a plugin exists for the custom tag's tag handler. The given custom tag node will be manipulated by the plugin.
-
-