Package org.apache.jasper.compiler
Class Node.ChildInfo
- java.lang.Object
-
- org.apache.jasper.compiler.Node.ChildInfo
-
- Enclosing class:
- Node
public static class Node.ChildInfo extends java.lang.ObjectCollected information about child elements. Used by nodes like CustomTag, JspBody, and NamedAttribute. The information is set in the Collector.
-
-
Constructor Summary
Constructors Constructor Description ChildInfo()Constructs a new ChildInfo instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanhasIncludeAction()Returns whether the tag body contains an include action.booleanhasParamAction()Returns whether the tag body contains a param action.booleanhasScriptingVars()Returns whether the tag body contains scripting variables.booleanhasSetProperty()Returns whether the tag body contains a setProperty action.booleanhasUseBean()Returns whether the tag body contains a useBean action.booleanisScriptless()Returns whether the tag and its body contain no scripting elements.voidsetHasIncludeAction(boolean i)Sets whether the tag body contains an include action.voidsetHasParamAction(boolean i)Sets whether the tag body contains a param action.voidsetHasScriptingVars(boolean s)Sets whether the tag body contains scripting variables.voidsetHasSetProperty(boolean s)Sets whether the tag body contains a setProperty action.voidsetHasUseBean(boolean u)Sets whether the tag body contains a useBean action.voidsetScriptless(boolean s)Sets whether the tag and its body contain no scripting elements.
-
-
-
Method Detail
-
setScriptless
public void setScriptless(boolean s)
Sets whether the tag and its body contain no scripting elements.- Parameters:
s- True if scriptless
-
isScriptless
public boolean isScriptless()
Returns whether the tag and its body contain no scripting elements.- Returns:
- True if scriptless
-
setHasUseBean
public void setHasUseBean(boolean u)
Sets whether the tag body contains a useBean action.- Parameters:
u- True if it has useBean
-
hasUseBean
public boolean hasUseBean()
Returns whether the tag body contains a useBean action.- Returns:
- True if it has useBean
-
setHasIncludeAction
public void setHasIncludeAction(boolean i)
Sets whether the tag body contains an include action.- Parameters:
i- True if it has include action
-
hasIncludeAction
public boolean hasIncludeAction()
Returns whether the tag body contains an include action.- Returns:
- True if it has include action
-
setHasParamAction
public void setHasParamAction(boolean i)
Sets whether the tag body contains a param action.- Parameters:
i- True if it has param action
-
hasParamAction
public boolean hasParamAction()
Returns whether the tag body contains a param action.- Returns:
- True if it has param action
-
setHasSetProperty
public void setHasSetProperty(boolean s)
Sets whether the tag body contains a setProperty action.- Parameters:
s- True if it has setProperty
-
hasSetProperty
public boolean hasSetProperty()
Returns whether the tag body contains a setProperty action.- Returns:
- True if it has setProperty
-
setHasScriptingVars
public void setHasScriptingVars(boolean s)
Sets whether the tag body contains scripting variables.- Parameters:
s- True if it has scripting variables
-
hasScriptingVars
public boolean hasScriptingVars()
Returns whether the tag body contains scripting variables.- Returns:
- True if it has scripting variables
-
-