Package org.apache.jasper.compiler
Class TagPluginManager
- java.lang.Object
-
- org.apache.jasper.compiler.TagPluginManager
-
public class TagPluginManager extends java.lang.Object
Manages tag plugin optimizations.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) static class
TagPluginManager.TagPluginContextImpl
-
Field Summary
Fields Modifier and Type Field Description private javax.servlet.ServletContext
ctxt
private boolean
initialized
private PageInfo
pageInfo
private static java.lang.String
TAG_PLUGINS_ROOT_ELEM
private static java.lang.String
TAG_PLUGINS_XML
private 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 void
apply(Node.Nodes page, ErrorDispatcher err, PageInfo pageInfo)
private void
init(ErrorDispatcher err)
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.
-
-
-
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.
-
-