Class DefineObjectsTEI
java.lang.Object
javax.servlet.jsp.tagext.TagExtraInfo
org.apache.sling.scripting.jsp.taglib.DefineObjectsTEI
public class DefineObjectsTEI
extends javax.servlet.jsp.tagext.TagExtraInfo
This class defines the scripting variables that are created by the
DefineObjectsTag
.-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
The name of the tag attribute used to define the name of the SlingBindings scripting variable (value is "bindingsName").static final String
The name of the tag attribute used to define the name of the logger scripting variable (value is "logName").static final String
The name of the tag attribute used to define the name of the Node scripting variable (value is "nodeName").static final String
The name of the tag attribute used to define the name of the RenderRequest scripting variable (value is "requestName").static final String
The name of the tag attribute used to define the name of the Resource scripting variable (value is "resourceName").static final String
The name of the tag attribute used to define the name of the ResourceResolver scripting variable (value is "resourceResolverName").static final String
The name of the tag attribute used to define the name of the RenderResponse scripting variable (value is "responseName").static final String
The name of the tag attribute used to define the name of the SlingScriptHelper scripting variable (value is "slingName"). -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionjavax.servlet.jsp.tagext.VariableInfo[]
getVariableInfo
(javax.servlet.jsp.tagext.TagData data) Returns an Array ofVariableInfo
objects describing scripting variables.Methods inherited from class javax.servlet.jsp.tagext.TagExtraInfo
getTagInfo, isValid, setTagInfo, validate
-
Field Details
-
ATTR_REQUEST_NAME
The name of the tag attribute used to define the name of the RenderRequest scripting variable (value is "requestName").- See Also:
-
ATTR_RESPONSE_NAME
The name of the tag attribute used to define the name of the RenderResponse scripting variable (value is "responseName").- See Also:
-
ATTR_RESOURCE_NAME
The name of the tag attribute used to define the name of the Resource scripting variable (value is "resourceName").- See Also:
-
ATTR_NODE_NAME
The name of the tag attribute used to define the name of the Node scripting variable (value is "nodeName").- See Also:
-
ATTR_SLING_NAME
The name of the tag attribute used to define the name of the SlingScriptHelper scripting variable (value is "slingName").- See Also:
-
ATTR_RESOURCE_RESOLVER_NAME
The name of the tag attribute used to define the name of the ResourceResolver scripting variable (value is "resourceResolverName").- See Also:
-
ATTR_LOG_NAME
The name of the tag attribute used to define the name of the logger scripting variable (value is "logName").- See Also:
-
ATTR_BINDINGS_NAME
The name of the tag attribute used to define the name of the SlingBindings scripting variable (value is "bindingsName").- See Also:
-
-
Constructor Details
-
DefineObjectsTEI
public DefineObjectsTEI()
-
-
Method Details
-
getVariableInfo
public javax.servlet.jsp.tagext.VariableInfo[] getVariableInfo(javax.servlet.jsp.tagext.TagData data) Returns an Array ofVariableInfo
objects describing scripting variables.- Overrides:
getVariableInfo
in classjavax.servlet.jsp.tagext.TagExtraInfo
- See Also:
-
TagExtraInfo.getVariableInfo(TagData)
-