|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.velocity.htmlsafe.directive.DefaultDirectiveChecker
public class DefaultDirectiveChecker
Checks whether a directive is present by traversing a Template's AST.
| Constructor Summary | |
|---|---|
DefaultDirectiveChecker()
|
|
| Method Summary | |
|---|---|
boolean |
isPresent(java.lang.String directiveName,
org.apache.velocity.Template template)
Determines whether a directive with an specified name is present on a template instance. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultDirectiveChecker()
| Method Detail |
|---|
public boolean isPresent(java.lang.String directiveName,
org.apache.velocity.Template template)
DirectiveChecker
isPresent in interface DirectiveCheckerdirectiveName - The name of the directive to look for.template - The template where we will search for the directive.
Directives.isPresent(String, org.apache.velocity.Template)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||