Uses of Class
org.apache.velocity.exception.ResourceNotFoundException
Packages that use ResourceNotFoundException
Package
Description
-
Uses of ResourceNotFoundException in org.apache.velocity
Methods in org.apache.velocity that throw ResourceNotFoundExceptionModifier and TypeMethodDescriptionvoid
The AST node structure is merged with the context to produce the final output.void
The AST node structure is merged with the context to produce the final output.boolean
Template.process()
gets the named resource as a stream, parses and inits -
Uses of ResourceNotFoundException in org.apache.velocity.app
Methods in org.apache.velocity.app that throw ResourceNotFoundExceptionModifier and TypeMethodDescriptionstatic boolean
Velocity.evaluate
(Context context, Writer writer, String logTag, InputStream instream) Deprecated.static boolean
Renders the input reader using the context into the output writer.static boolean
renders the input string using the context into the output writer.boolean
VelocityEngine.evaluate
(Context context, Writer writer, String logTag, InputStream instream) boolean
Renders the input reader using the context into the output writer.boolean
renders the input string using the context into the output writer.static Template
Velocity.getTemplate
(String name) Returns aTemplate
from the Velocity resource management system.static Template
Velocity.getTemplate
(String name, String encoding) Returns aTemplate
from the Velocity resource management system.VelocityEngine.getTemplate
(String name) Returns aTemplate
from the Velocity resource management system.VelocityEngine.getTemplate
(String name, String encoding) Returns aTemplate
from the Velocity resource management system.static boolean
Velocity.mergeTemplate
(String templateName, String encoding, Context context, Writer writer) merges a template and puts the rendered stream into the writerstatic boolean
Velocity.mergeTemplate
(String templateName, Context context, Writer writer) boolean
VelocityEngine.mergeTemplate
(String templateName, String encoding, Context context, Writer writer) merges a template and puts the rendered stream into the writerboolean
VelocityEngine.mergeTemplate
(String templateName, Context context, Writer writer) -
Uses of ResourceNotFoundException in org.apache.velocity.runtime
Methods in org.apache.velocity.runtime that throw ResourceNotFoundExceptionModifier and TypeMethodDescriptionstatic ContentResource
Runtime.getContent
(String name) Deprecated.Returns a static content resource from the resource manager.static ContentResource
Runtime.getContent
(String name, String encoding) Deprecated.Returns a static content resource from the resource manager.RuntimeInstance.getContent
(String name) Returns a static content resource from the resource manager.RuntimeInstance.getContent
(String name, String encoding) Returns a static content resource from the resource manager.RuntimeServices.getContent
(String name) Returns a static content resource from the resource manager.RuntimeServices.getContent
(String name, String encoding) Returns a static content resource from the resource manager.static ContentResource
RuntimeSingleton.getContent
(String name) Returns a static content resource from the resource manager.static ContentResource
RuntimeSingleton.getContent
(String name, String encoding) Returns a static content resource from the resource manager.static Template
Runtime.getTemplate
(String name) Deprecated.Returns aTemplate
from the resource manager.static Template
Runtime.getTemplate
(String name, String encoding) Deprecated.Returns aTemplate
from the resource managerRuntimeInstance.getTemplate
(String name) Returns aTemplate
from the resource manager.RuntimeInstance.getTemplate
(String name, String encoding) Returns aTemplate
from the resource managerRuntimeServices.getTemplate
(String name) Returns aTemplate
from the resource manager.RuntimeServices.getTemplate
(String name, String encoding) Returns aTemplate
from the resource managerstatic Template
RuntimeSingleton.getTemplate
(String name) Returns aTemplate
from the resource manager.static Template
RuntimeSingleton.getTemplate
(String name, String encoding) Returns aTemplate
from the resource managerboolean
Renderable.render
(InternalContextAdapter context, Writer writer) -
Uses of ResourceNotFoundException in org.apache.velocity.runtime.directive
Methods in org.apache.velocity.runtime.directive that throw ResourceNotFoundExceptionModifier and TypeMethodDescriptionabstract boolean
Directive.render
(InternalContextAdapter context, Writer writer, Node node) How this directive is to be renderedboolean
Evaluate.render
(InternalContextAdapter context, Writer writer, Node node) Evaluate the argument, convert to a String, and evaluate again (with the same context).boolean
Foreach.render
(InternalContextAdapter context, Writer writer, Node node) renders the #foreach() blockboolean
Include.render
(InternalContextAdapter context, Writer writer, Node node) iterates through the argument list and renders every argument that is appropriate.boolean
Parse.render
(InternalContextAdapter context, Writer writer, Node node) iterates through the argument list and renders every argument that is appropriate.boolean
RuntimeMacro.render
(InternalContextAdapter context, Writer writer, Node node) Velocimacro implementation is not known at the init time.boolean
RuntimeMacro.render
(InternalContextAdapter context, Writer writer, Node node, Renderable body) This method is used with BlockMacro when we want to render a macro with a body AST.private boolean
Include.renderOutput
(Node node, InternalContextAdapter context, 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 ResourceNotFoundExceptionModifier and TypeMethodDescriptionboolean
ASTBlock.render
(InternalContextAdapter context, Writer writer) boolean
ASTComment.render
(InternalContextAdapter context, Writer writer) boolean
ASTDirective.render
(InternalContextAdapter context, Writer writer) boolean
ASTElseIfStatement.render
(InternalContextAdapter context, Writer writer) boolean
ASTIfStatement.render
(InternalContextAdapter context, Writer writer) boolean
Node.render
(InternalContextAdapter context, Writer writer) boolean
SimpleNode.render
(InternalContextAdapter context, Writer writer) -
Uses of ResourceNotFoundException in org.apache.velocity.runtime.resource
Methods in org.apache.velocity.runtime.resource that throw ResourceNotFoundExceptionModifier and TypeMethodDescriptionResourceManager.getResource
(String resourceName, int resourceType, String encoding) Gets the named resource.ResourceManagerImpl.getResource
(String resourceName, int resourceType) ResourceManagerImpl.getResource
(String resourceName, int resourceType, String encoding) Gets the named resource.protected Resource
ResourceManagerImpl.loadResource
(String resourceName, int resourceType, String encoding) Loads a resource from the current set of resource loaders.boolean
ContentResource.process()
Pull in static content and store it.abstract boolean
Resource.process()
Perform any subsequent processing that might need to be done by a resource.protected Resource
ResourceManagerImpl.refreshResource
(Resource resource, String encoding) Takes an existing resource, and 'refreshes' it. -
Uses of ResourceNotFoundException in org.apache.velocity.runtime.resource.loader
Methods in org.apache.velocity.runtime.resource.loader that throw ResourceNotFoundExceptionModifier and TypeMethodDescriptionJarHolder.getResource
(String theentry) ClasspathResourceLoader.getResourceStream
(String name) Get an InputStream so that the Runtime can build a template with it.DataSourceResourceLoader.getResourceStream
(String name) Get an InputStream so that the Runtime can build a template with it.FileResourceLoader.getResourceStream
(String templateName) Get an InputStream so that the Runtime can build a template with it.JarResourceLoader.getResourceStream
(String source) Get an InputStream so that the Runtime can build a template with it.abstract InputStream
ResourceLoader.getResourceStream
(String source) Get the InputStream that the Runtime will parse to create a template.StringResourceLoader.getResourceStream
(String name) Get an InputStream so that the Runtime can build a template with it.URLResourceLoader.getResourceStream
(String name) Get an InputStream so that the Runtime can build a template with it.
Velocity.evaluate(Context context, Writer writer, String logTag, Reader reader)