Class DefineObjectsTEI
- java.lang.Object
-
- javax.servlet.jsp.tagext.TagExtraInfo
-
- org.apache.sling.scripting.jsp.taglib.DefineObjectsTEI
-
- Direct Known Subclasses:
DefineObjectsTEI
public class DefineObjectsTEI extends TagExtraInfo
This class defines the scripting variables that are created by theDefineObjectsTag
.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
ATTR_BINDINGS_NAME
The name of the tag attribute used to define the name of the SlingBindings scripting variable (value is "bindingsName").static java.lang.String
ATTR_LOG_NAME
The name of the tag attribute used to define the name of the logger scripting variable (value is "logName").static java.lang.String
ATTR_NODE_NAME
The name of the tag attribute used to define the name of the Node scripting variable (value is "nodeName").static java.lang.String
ATTR_REQUEST_NAME
The name of the tag attribute used to define the name of the RenderRequest scripting variable (value is "requestName").static java.lang.String
ATTR_RESOURCE_NAME
The name of the tag attribute used to define the name of the Resource scripting variable (value is "resourceName").static java.lang.String
ATTR_RESOURCE_RESOLVER_NAME
The name of the tag attribute used to define the name of the ResourceResolver scripting variable (value is "resourceResolverName").static java.lang.String
ATTR_RESPONSE_NAME
The name of the tag attribute used to define the name of the RenderResponse scripting variable (value is "responseName").static java.lang.String
ATTR_SLING_NAME
The name of the tag attribute used to define the name of the SlingScriptHelper scripting variable (value is "slingName").
-
Constructor Summary
Constructors Constructor Description DefineObjectsTEI()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description VariableInfo[]
getVariableInfo(TagData data)
Returns an Array ofVariableInfo
objects describing scripting variables.-
Methods inherited from class javax.servlet.jsp.tagext.TagExtraInfo
getTagInfo, isValid, setTagInfo, validate
-
-
-
-
Field Detail
-
ATTR_REQUEST_NAME
public static final java.lang.String ATTR_REQUEST_NAME
The name of the tag attribute used to define the name of the RenderRequest scripting variable (value is "requestName").- See Also:
- Constant Field Values
-
ATTR_RESPONSE_NAME
public static final java.lang.String ATTR_RESPONSE_NAME
The name of the tag attribute used to define the name of the RenderResponse scripting variable (value is "responseName").- See Also:
- Constant Field Values
-
ATTR_RESOURCE_NAME
public static final java.lang.String ATTR_RESOURCE_NAME
The name of the tag attribute used to define the name of the Resource scripting variable (value is "resourceName").- See Also:
- Constant Field Values
-
ATTR_NODE_NAME
public static final java.lang.String ATTR_NODE_NAME
The name of the tag attribute used to define the name of the Node scripting variable (value is "nodeName").- See Also:
- Constant Field Values
-
ATTR_SLING_NAME
public static final java.lang.String ATTR_SLING_NAME
The name of the tag attribute used to define the name of the SlingScriptHelper scripting variable (value is "slingName").- See Also:
- Constant Field Values
-
ATTR_RESOURCE_RESOLVER_NAME
public static final java.lang.String 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:
- Constant Field Values
-
ATTR_LOG_NAME
public static final java.lang.String ATTR_LOG_NAME
The name of the tag attribute used to define the name of the logger scripting variable (value is "logName").- See Also:
- Constant Field Values
-
ATTR_BINDINGS_NAME
public static final java.lang.String ATTR_BINDINGS_NAME
The name of the tag attribute used to define the name of the SlingBindings scripting variable (value is "bindingsName").- See Also:
- Constant Field Values
-
-
Method Detail
-
getVariableInfo
public VariableInfo[] getVariableInfo(TagData data)
Returns an Array ofVariableInfo
objects describing scripting variables.- Overrides:
getVariableInfo
in 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:
TagExtraInfo.getVariableInfo(TagData)
-
-