public class RenderVelocityTemplateDirective
extends org.apache.velocity.runtime.directive.Directive
Constructor and Description |
---|
RenderVelocityTemplateDirective() |
Modifier and Type | Method and Description |
---|---|
String |
getName() |
int |
getType() |
void |
init(org.apache.velocity.runtime.RuntimeServices services,
org.apache.velocity.context.InternalContextAdapter adapter,
org.apache.velocity.runtime.parser.node.Node node)
The directive is initialized.
|
boolean |
render(org.apache.velocity.context.InternalContextAdapter adapter,
Writer writer,
org.apache.velocity.runtime.parser.node.Node node) |
public String getName()
getName
in class org.apache.velocity.runtime.directive.Directive
public int getType()
getType
in class org.apache.velocity.runtime.directive.Directive
public void init(org.apache.velocity.runtime.RuntimeServices services, org.apache.velocity.context.InternalContextAdapter adapter, org.apache.velocity.runtime.parser.node.Node node)
init
in class org.apache.velocity.runtime.directive.Directive
services
- Velocity runtime services.adapter
- context.node
- within the directive.public boolean render(org.apache.velocity.context.InternalContextAdapter adapter, Writer writer, org.apache.velocity.runtime.parser.node.Node node) throws IOException, org.apache.velocity.exception.ResourceNotFoundException, org.apache.velocity.exception.ParseErrorException, org.apache.velocity.exception.MethodInvocationException
render
in class org.apache.velocity.runtime.directive.Directive
IOException
org.apache.velocity.exception.ResourceNotFoundException
org.apache.velocity.exception.ParseErrorException
org.apache.velocity.exception.MethodInvocationException
Copyright © 2003–2020 Atlassian. All rights reserved.