com.atlassian.velocity.htmlsafe.directive
Class Directives
java.lang.Object
com.atlassian.velocity.htmlsafe.directive.Directives
public class Directives
- extends Object
Contains a set of static utility methods that operate on Velocity Directives.
- Since:
- v5.1
- See Also:
Directive
|
Method Summary |
static boolean |
isPresent(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 |
Directives
public Directives()
isPresent
public static boolean isPresent(String directiveName,
org.apache.velocity.Template template)
- Determines whether a directive with an specified name is present on a template instance.
- Parameters:
directiveName - The name of the directive to look for.template - The template where we will search for the directive.
- Returns:
- true, if the directive has been defined on the template; otherwise, false.
Copyright © 2014 Atlassian. All Rights Reserved.