| Frames | No Frames | |
Methods with parameter type org.apache.velocity.context.Context | |
| Template | VelocityServlet.handleRequest(HttpServletRequest request, HttpServletResponse response, Context ctx) Implement this method to add your application data to the context,
calling the getTemplate() method to produce your return
value. |
| Template | Implement this method to add your application data to the context,
calling the getTemplate() method to produce your return
value. |
| void | merges the template with the context. |
| void | VelocityServlet.requestCleanup(HttpServletRequest request, HttpServletResponse response, Context context) cleanup routine called at the end of the request processing sequence
allows a derived class to do resource cleanup or other end of
process cycle tasks
|
Methods with return type org.apache.velocity.context.Context | |
| Context | VelocityServlet.createContext(HttpServletRequest request, HttpServletResponse response) Returns a context suitable to pass to the handleRequest() method
Default implementation will create a VelocityContext object, put the HttpServletRequest and HttpServletResponse into the context accessable via the keys VelocityServlet.REQUEST and VelocityServlet.RESPONSE, respectively. |
Methods with parameter type org.apache.velocity.context.Context | |
| Object | |
| String | Utility method to interpolate context variables
into string literals. |
Methods with parameter type org.apache.velocity.context.Context | |
| boolean | Renders the input stream using the context into the output writer. |
| boolean | Renders the input stream using the context into the output writer. |
| boolean | Renders the input reader using the context into the output writer. |
| boolean | Renders the input reader using the context into the output writer. |
| boolean | renders the input string using the context into the output writer. |
| boolean | renders the input string using the context into the output writer. |
| boolean | Invokes a currently registered Velocimacro with the parms provided
and places the rendered stream into the writer. |
| boolean | VelocityEngine.invokeVelocimacro(String vmName, String logTag, params[] , Context context, Writer writer) Invokes a currently registered Velocimacro with the parms provided
and places the rendered stream into the writer. |
| boolean | merges a template and puts the rendered stream into the writer
|
| boolean | merges a template and puts the rendered stream into the writer
|
| boolean | merges a template and puts the rendered stream into the writer
|
| boolean | merges a template and puts the rendered stream into the writer
|
Methods with parameter type org.apache.velocity.context.Context | |
| void | Add properties that will aways be in the context by default
|
| void | Add all the contents of a Hashtable to the context. |
| void | Add objects to the context from the current properties. |
| String | Parse the control template and merge it with the control
context. |
Methods with return type org.apache.velocity.context.Context | |
| Context | Generator.getContext(Hashtable objs) Create a new context and fill it with the elements of the
objs Hashtable. |
Fields of type org.apache.velocity.context.Context | |
| Context | Context used for generating the texen output. |
Methods with parameter type org.apache.velocity.context.Context | |
| boolean | Attached the EventCartridge to the context
Final because not something one should mess with lightly :)
|
Methods with parameter type org.apache.velocity.context.Context | |
| void | The AST node structure is merged with the
context to produce the final output. |
Classes implementing org.apache.velocity.context.Context | |
| class | General purpose implemention of the application Context
interface for general application use. |
Constructors with parameter type org.apache.velocity.context.Context | |
Initializes internal storage (never to null), and
inner context. | |
Chaining constructor, used when you want to
wrap a context in another. | |
Fields of type org.apache.velocity.context.Context | |
| Context | |
Constructors with parameter type org.apache.velocity.context.Context | |
Constructor needs a backpointer to the context. | |
Methods with parameter type org.apache.velocity.context.Context | |
| void | Place useful objects into the initial context. |
| void | Place useful objects into the initial context. |
Methods with return type org.apache.velocity.context.Context | |
| Context | Creates a VelocityContext. |
| Context | Creates a VelocityContext. |
Methods with return type org.apache.velocity.context.Context | |
| Context | returns innerContext if one is chained
|
| Context | returns the user data context that
we are wrapping
|
| Context | returns the wrapped user context |
| Context | return the inner / user context
|
Fields of type org.apache.velocity.context.Context | |
| Context | the user data Context that we are wrapping
|
| Context | the chained Context if any
|
Classes implementing org.apache.velocity.context.Context | |
| class | This class is the abstract base class for all conventional
Velocity Context implementations. |
| class | This adapter class is the container for all context types for internal
use. |
| class | This is a special, internal-use-only context implementation to be
used for the new Velocimacro implementation. |
Constructors with parameter type org.apache.velocity.context.Context | |
Chaining constructor accepts a Context argument. | |
CTOR takes a Context and wraps it, delegating all 'data' calls
to it. | |