public abstract interface Request
Interface to a request made to a CustomTag. The interface includes methods for retrieving attributes passed to the tag (including queries) and reading global tag settings.
| Returns | Syntax | Description |
|---|---|---|
|
boolean |
attributeExists(String name) |
Checks whether the attribute was passed to this tag. |
|
boolean |
|
Checks whether the tag contains the |
|
String |
getAttribute(String name) |
Retrieves the value of the passed attribute. |
|
String[] |
getAttributeList() |
Retrieves a list of attributes passed to the tag. |
|
int |
getIntAttribute(String name) |
Retrieves the value of the passed attribute as an integer. |
|
int |
getIntAttribute(String name, |
Retrieves the value of the passed attribute as an integer (returns default if the attribute does not exist or is not a valid number). |
|
Query |
getQuery() |
Retrieves the query that was passed to this tag. |