|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Uses of ResourceNotFoundException in org.apache.velocity |
Methods in org.apache.velocity that throw ResourceNotFoundException | |
boolean |
Template.process()
gets the named resource as a stream, parses and inits |
void |
Template.merge(Context context,
java.io.Writer writer)
The AST node structure is merged with the context to produce the final output. |
Uses of ResourceNotFoundException in org.apache.velocity.app |
Methods in org.apache.velocity.app that throw ResourceNotFoundException | |
boolean |
VelocityEngine.evaluate(Context context,
java.io.Writer out,
java.lang.String logTag,
java.lang.String instring)
renders the input string using the context into the output writer. |
boolean |
VelocityEngine.evaluate(Context context,
java.io.Writer writer,
java.lang.String logTag,
java.io.InputStream instream)
Deprecated. Use VelocityEngine.evaluate( Context context, Writer writer,
String logTag, Reader reader ) |
boolean |
VelocityEngine.evaluate(Context context,
java.io.Writer writer,
java.lang.String logTag,
java.io.Reader reader)
Renders the input reader using the context into the output writer. |
boolean |
VelocityEngine.mergeTemplate(java.lang.String templateName,
Context context,
java.io.Writer writer)
merges a template and puts the rendered stream into the writer |
boolean |
VelocityEngine.mergeTemplate(java.lang.String templateName,
java.lang.String encoding,
Context context,
java.io.Writer writer)
merges a template and puts the rendered stream into the writer |
Template |
VelocityEngine.getTemplate(java.lang.String name)
Returns a Template from the Velocity
resource management system. |
Template |
VelocityEngine.getTemplate(java.lang.String name,
java.lang.String encoding)
Returns a Template from the Velocity
resource management system. |
static boolean |
Velocity.evaluate(Context context,
java.io.Writer out,
java.lang.String logTag,
java.lang.String instring)
renders the input string using the context into the output writer. |
static boolean |
Velocity.evaluate(Context context,
java.io.Writer writer,
java.lang.String logTag,
java.io.InputStream instream)
Deprecated. Use Velocity.evaluate( Context context, Writer writer,
String logTag, Reader reader ) |
static boolean |
Velocity.evaluate(Context context,
java.io.Writer writer,
java.lang.String logTag,
java.io.Reader reader)
Renders the input reader using the context into the output writer. |
static boolean |
Velocity.mergeTemplate(java.lang.String templateName,
Context context,
java.io.Writer writer)
Deprecated. Use Velocity.mergeTemplate( String templateName, String encoding,
Context context, Writer writer ) |
static boolean |
Velocity.mergeTemplate(java.lang.String templateName,
java.lang.String encoding,
Context context,
java.io.Writer writer)
merges a template and puts the rendered stream into the writer |
static Template |
Velocity.getTemplate(java.lang.String name)
Returns a Template from the Velocity
resource management system. |
static Template |
Velocity.getTemplate(java.lang.String name,
java.lang.String encoding)
Returns a Template from the Velocity
resource management system. |
Uses of ResourceNotFoundException in org.apache.velocity.runtime |
Methods in org.apache.velocity.runtime that throw ResourceNotFoundException | |
Template |
RuntimeInstance.getTemplate(java.lang.String name)
Returns a Template from the resource manager. |
Template |
RuntimeInstance.getTemplate(java.lang.String name,
java.lang.String encoding)
Returns a Template from the resource manager |
ContentResource |
RuntimeInstance.getContent(java.lang.String name)
Returns a static content resource from the resource manager. |
ContentResource |
RuntimeInstance.getContent(java.lang.String name,
java.lang.String encoding)
Returns a static content resource from the resource manager. |
static Template |
Runtime.getTemplate(java.lang.String name)
Deprecated. Returns a Template from the resource manager. |
static Template |
Runtime.getTemplate(java.lang.String name,
java.lang.String encoding)
Deprecated. Returns a Template from the resource manager |
static ContentResource |
Runtime.getContent(java.lang.String name)
Deprecated. Returns a static content resource from the resource manager. |
static ContentResource |
Runtime.getContent(java.lang.String name,
java.lang.String encoding)
Deprecated. Returns a static content resource from the resource manager. |
static Template |
RuntimeSingleton.getTemplate(java.lang.String name)
Returns a Template from the resource manager. |
static Template |
RuntimeSingleton.getTemplate(java.lang.String name,
java.lang.String encoding)
Returns a Template from the resource manager |
static ContentResource |
RuntimeSingleton.getContent(java.lang.String name)
Returns a static content resource from the resource manager. |
static ContentResource |
RuntimeSingleton.getContent(java.lang.String name,
java.lang.String encoding)
Returns a static content resource from the resource manager. |
Template |
RuntimeServices.getTemplate(java.lang.String name)
Returns a Template from the resource manager. |
Template |
RuntimeServices.getTemplate(java.lang.String name,
java.lang.String encoding)
Returns a Template from the resource manager |
ContentResource |
RuntimeServices.getContent(java.lang.String name)
Returns a static content resource from the resource manager. |
ContentResource |
RuntimeServices.getContent(java.lang.String name,
java.lang.String encoding)
Returns a static content resource from the resource manager. |
Uses of ResourceNotFoundException in org.apache.velocity.runtime.directive |
Methods in org.apache.velocity.runtime.directive that throw ResourceNotFoundException | |
abstract boolean |
Directive.render(InternalContextAdapter context,
java.io.Writer writer,
Node node)
How this directive is to be rendered |
boolean |
Foreach.render(InternalContextAdapter context,
java.io.Writer writer,
Node node)
renders the #foreach() block |
boolean |
Parse.render(InternalContextAdapter context,
java.io.Writer writer,
Node node)
iterates through the argument list and renders every argument that is appropriate. |
boolean |
Include.render(InternalContextAdapter context,
java.io.Writer writer,
Node node)
iterates through the argument list and renders every argument that is appropriate. |
private boolean |
Include.renderOutput(Node node,
InternalContextAdapter context,
java.io.Writer writer)
does the actual rendering of the included file |
Uses of ResourceNotFoundException in org.apache.velocity.runtime.parser.node |
Methods in org.apache.velocity.runtime.parser.node that throw ResourceNotFoundException | |
boolean |
SimpleNode.render(InternalContextAdapter context,
java.io.Writer writer)
|
boolean |
ASTElseIfStatement.render(InternalContextAdapter context,
java.io.Writer writer)
renders the block |
boolean |
ASTDirective.render(InternalContextAdapter context,
java.io.Writer writer)
|
boolean |
ASTComment.render(InternalContextAdapter context,
java.io.Writer writer)
|
boolean |
ASTBlock.render(InternalContextAdapter context,
java.io.Writer writer)
|
boolean |
Node.render(InternalContextAdapter context,
java.io.Writer writer)
|
boolean |
ASTIfStatement.render(InternalContextAdapter context,
java.io.Writer writer)
|
Uses of ResourceNotFoundException in org.apache.velocity.runtime.resource |
Methods in org.apache.velocity.runtime.resource that throw ResourceNotFoundException | |
abstract boolean |
Resource.process()
Perform any subsequent processing that might need to be done by a resource. |
Resource |
ResourceManagerImpl.getResource(java.lang.String resourceName,
int resourceType,
java.lang.String encoding)
Gets the named resource. |
protected Resource |
ResourceManagerImpl.loadResource(java.lang.String resourceName,
int resourceType,
java.lang.String encoding)
Loads a resource from the current set of resource loaders |
protected void |
ResourceManagerImpl.refreshResource(Resource resource,
java.lang.String encoding)
Takes an existing resource, and 'refreshes' it. |
Resource |
ResourceManagerImpl.getResource(java.lang.String resourceName,
int resourceType)
Deprecated. Use ResourceManagerImpl.getResource(String resourceName, int resourceType,
String encoding ) |
boolean |
ContentResource.process()
Pull in static content and store it. |
Resource |
ResourceManager.getResource(java.lang.String resourceName,
int resourceType,
java.lang.String encoding)
Gets the named resource. |
Uses of ResourceNotFoundException in org.apache.velocity.runtime.resource.loader |
Methods in org.apache.velocity.runtime.resource.loader that throw ResourceNotFoundException | |
abstract java.io.InputStream |
ResourceLoader.getResourceStream(java.lang.String source)
Get the InputStream that the Runtime will parse to create a template. |
java.io.InputStream |
JarResourceLoader.getResourceStream(java.lang.String source)
Get an InputStream so that the Runtime can build a template with it. |
java.io.InputStream |
DataSourceResourceLoader.getResourceStream(java.lang.String name)
Get an InputStream so that the Runtime can build a template with it. |
java.io.InputStream |
JarHolder.getResource(java.lang.String theentry)
|
java.io.InputStream |
ClasspathResourceLoader.getResourceStream(java.lang.String name)
Get an InputStream so that the Runtime can build a template with it. |
java.io.InputStream |
FileResourceLoader.getResourceStream(java.lang.String templateName)
Get an InputStream so that the Runtime can build a template with it. |
Uses of ResourceNotFoundException in org.apache.velocity.servlet |
Methods in org.apache.velocity.servlet that throw ResourceNotFoundException | |
protected void |
VelocityServlet.mergeTemplate(Template template,
Context context,
javax.servlet.http.HttpServletResponse response)
merges the template with the context. |
Template |
VelocityServlet.getTemplate(java.lang.String name)
Retrieves the requested template. |
Template |
VelocityServlet.getTemplate(java.lang.String name,
java.lang.String encoding)
Retrieves the requested template with the specified character encoding. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |