Class DefineObjectsTEI
java.lang.Object
javax.servlet.jsp.tagext.TagExtraInfo
org.apache.sling.scripting.jsp.taglib.DefineObjectsTEI
- Direct Known Subclasses:
DefineObjectsTEI
This class defines the scripting variables that are created by the
DefineObjectsTag.-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe name of the tag attribute used to define the name of the SlingBindings scripting variable (value is "bindingsName").static final StringThe name of the tag attribute used to define the name of the logger scripting variable (value is "logName").static final StringThe name of the tag attribute used to define the name of the Node scripting variable (value is "nodeName").static final StringThe name of the tag attribute used to define the name of the RenderRequest scripting variable (value is "requestName").static final StringThe name of the tag attribute used to define the name of the Resource scripting variable (value is "resourceName").static final StringThe name of the tag attribute used to define the name of the ResourceResolver scripting variable (value is "resourceResolverName").static final StringThe name of the tag attribute used to define the name of the RenderResponse scripting variable (value is "responseName").static final StringThe 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 TypeMethodDescriptiongetVariableInfo(TagData data) Returns an Array ofVariableInfoobjects 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
Returns an Array ofVariableInfoobjects describing scripting variables.- Overrides:
getVariableInfoin classTagExtraInfo- Parameters:
data- The TagData instance.- Returns:
- An array of VariableInfo data, or null or a zero length array if no scripting variables are to be defined.
- See Also:
-