|
|||||||||
| PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES | ||||||||
See:
Description
| Interface Summary | |
|---|---|
| Logic | The logic class is called upon to populate the WebMacro web context, prior to invoking a particular WebMacro template upon it to generate a response page. |
| Class Summary | |
|---|---|
| Application | The servlet API defines the concept of a web application and associates certain attributes with it like document root and so on. |
| CurrencyTool | Provides handy currency functions for use in velocity. |
| DataTool | Some helpful methods for dealing with data in velocity. |
| DispatcherServlet | The dispatcher servlet builds upon Velocity's architecture. |
| DummyLogic | The dummy logic is used as a placeholder for URIs that match no normal logic or for which the matching logic could not be instantiated. |
| FormTool | The form tool can be placed into an invocation context and used by the template to create form elements which automatically inherit form values which were provided to the page at request time. |
| I18nTool | Provides access to a set of application messages (translation strings) to templates that wish to display localized text. |
| ImportDirective | Pluggable directive that handles the #import() statement in VTL. |
| InvocationContext | The invocation context provides access to request related information as well as being the place where objects are placed to make them available to the template. |
| ServletContextLogger | Routes Velocity log messages to the servlet context. |
| ServletContextResourceLoader | A Velocity resource loader that loads resources from the servlet context. |
| ServletContextResourceManager | A resource manager implementation for Velocity that loads resources from the servlet context. |
| SiteJarResourceLoader | A Velocity resource loader that loads resources from site-specific jar files. |
| SiteKey | Decodes a compound Velocity resource name plus site identifier. |
| SiteResourceManager | A resource manager implementation for Velocity that first loads site specific resources (via the
SiteJarResourceLoader), but falls back to default resources if no site-specific resource
loader is available. |
| StringTool | Provides simple string funtions like blank(). |
| VelocityTestCase | An abstract base class for easily testing Velocity templates. |
| VelocityUtil | Handy Velocity-related routines. |
Provides parts of a simple web application framework built around the Velocity template engine.
The web application framework provided by this package is simple and intended for use in small projects with limited scope. It is not intended to be all things, nor to evolve into something that makes toast. It builds upon Velocity, a template engine whose philosophies about the separation of markup and code I agree with.
Velocity is designed to be used explicitly by servlets in applications where the design is structured around the servlets rather than the pages generated by the servlets. This is in contrast to the JSP approach where the pages themselves dictate the structure of the application and the servlets are automatically generated to conform to that structure. This package provides a means by which to automatically map serlvet-like units of code to templates in a way akin to JSP's approach but without the combination of code and markup.
|
|||||||||
| PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES | ||||||||