com.atlassian.velocity.htmlsafe.directive
Interface DirectiveChecker

All Known Implementing Classes:
DefaultDirectiveChecker

public interface DirectiveChecker

Checks whether directives are present in templates.

Since:
v1.1.1

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.
 

Method Detail

isPresent

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.

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 © 2013 Atlassian. All Rights Reserved.