diff options
Diffstat (limited to 'velocity-engine-core/src/main/java/org/apache/velocity/runtime/directive/Directive.java')
-rw-r--r-- | velocity-engine-core/src/main/java/org/apache/velocity/runtime/directive/Directive.java | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/velocity-engine-core/src/main/java/org/apache/velocity/runtime/directive/Directive.java b/velocity-engine-core/src/main/java/org/apache/velocity/runtime/directive/Directive.java index 33320bcb..2cbf2d78 100644 --- a/velocity-engine-core/src/main/java/org/apache/velocity/runtime/directive/Directive.java +++ b/velocity-engine-core/src/main/java/org/apache/velocity/runtime/directive/Directive.java @@ -85,6 +85,7 @@ public abstract class Directive implements DirectiveConstants, Cloneable * Allows the template location to be set. * @param line * @param column + * @param template */ public void setLocation(int line, int column, Template template) { @@ -173,6 +174,7 @@ public abstract class Directive implements DirectiveConstants, Cloneable * for example ParserTreeConstants.JJTWORD * @param t token of directive * @param templateName the name of the template this directive is referenced in. + * @throws ParseException */ public void checkArgs(ArrayList<Integer> argtypes, Token t, String templateName) throws ParseException @@ -199,6 +201,7 @@ public abstract class Directive implements DirectiveConstants, Cloneable /** * This creates and places the scope control for this directive * into the context (if scope provision is turned on). + * @param context */ protected void preRender(InternalContextAdapter context) { @@ -210,6 +213,10 @@ public abstract class Directive implements DirectiveConstants, Cloneable } } + /** + * @param prev + * @return scope + */ protected Scope makeScope(Object prev) { return new Scope(this, prev); @@ -218,6 +225,7 @@ public abstract class Directive implements DirectiveConstants, Cloneable /** * This cleans up any scope control for this directive after rendering, * assuming the scope control was turned on. + * @param context */ protected void postRender(InternalContextAdapter context) { |