public class VelocityAutotagRuntime extends org.apache.velocity.runtime.directive.Directive implements AutotagRuntime<Request>
| Constructor and Description | 
|---|
| VelocityAutotagRuntime() | 
| Modifier and Type | Method and Description | 
|---|---|
| ModelBody | createModelBody()Creates a new ModelBody instance to match the request. | 
| Request | createRequest()Creates a new Request instance. | 
| String | getName() | 
| <T> T | getParameter(String name,
            Class<T> type,
            T defaultValue)Extracts a parameter from the tag. | 
| int | getType() | 
| boolean | render(org.apache.velocity.context.InternalContextAdapter context,
      Writer writer,
      org.apache.velocity.runtime.parser.node.Node node) | 
public Request createRequest()
AutotagRuntimecreateRequest in interface AutotagRuntime<Request>public ModelBody createModelBody()
createModelBody in interface AutotagRuntime<Request>public <T> T getParameter(String name, Class<T> type, T defaultValue)
getParameter in interface AutotagRuntime<Request>name - The name of the parameter.defaultValue - The default value if none is specified.public String getName()
getName in class org.apache.velocity.runtime.directive.Directivepublic int getType()
getType in class org.apache.velocity.runtime.directive.Directivepublic boolean render(org.apache.velocity.context.InternalContextAdapter context,
                      Writer writer,
                      org.apache.velocity.runtime.parser.node.Node node)
render in class org.apache.velocity.runtime.directive.DirectiveCopyright © 2000–2025 Apache Software Foundation. All rights reserved.