Convenient support class for creating tags which don't analyze their
bodies. Normally, tags will extend TagSupport instead of implementing
Tag directly.
Processed to check if the tag should loop. The default behavior
returns SKIP_BODY so it does not loop.
EVAL_BODY_AGAIN to repeat the body or SKIP_BODY to stop.
The default behavior returns SKIP_BODY to skip the tag's body.
findAncestorWithClass
final public static Tag findAncestorWithClass(Tag tag, Class cl)(Code)
Finds an ancestor of a tag matching the class. The search is strict,
i.e. only parents will be searched, not the tag itself.
Parameters: tag - child tag to start searching. Parameters: cl - the class that the tag should implement. the matching tag or null.