Uses of Class
org.apache.velocity.exception.ResourceNotFoundException
-
-
Uses of ResourceNotFoundException in org.apache.velocity
Methods in org.apache.velocity that throw ResourceNotFoundException Modifier and Type Method Description voidTemplate. merge(Context context, Writer writer)The AST node structure is merged with the context to produce the final output.voidTemplate. merge(Context context, Writer writer, List<String> macroLibraries)The AST node structure is merged with the context to produce the final output.booleanTemplate. 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 ResourceNotFoundException Modifier and Type Method Description static booleanVelocity. evaluate(Context context, Writer writer, String logTag, Reader reader)Renders the input reader using the context into the output writer.static booleanVelocity. evaluate(Context context, Writer out, String logTag, String instring)renders the input string using the context into the output writer.booleanVelocityEngine. evaluate(Context context, Writer writer, String logTag, Reader reader)Renders the input reader using the context into the output writer.booleanVelocityEngine. evaluate(Context context, Writer out, String logTag, String instring)renders the input string using the context into the output writer.static TemplateVelocity. getTemplate(String name)Returns aTemplatefrom the Velocity resource management system.static TemplateVelocity. getTemplate(String name, String encoding)Returns aTemplatefrom the Velocity resource management system.TemplateVelocityEngine. getTemplate(String name)Returns aTemplatefrom the Velocity resource management system.TemplateVelocityEngine. getTemplate(String name, String encoding)Returns aTemplatefrom the Velocity resource management system.static booleanVelocity. mergeTemplate(String templateName, String encoding, Context context, Writer writer)Merges a template and puts the rendered stream into the writerbooleanVelocityEngine. mergeTemplate(String templateName, String encoding, Context context, Writer writer)merges a template and puts the rendered stream into the writer -
Uses of ResourceNotFoundException in org.apache.velocity.runtime
Methods in org.apache.velocity.runtime that throw ResourceNotFoundException Modifier and Type Method Description ContentResourceRuntimeInstance. getContent(String name)Returns a static content resource from the resource manager.ContentResourceRuntimeInstance. getContent(String name, String encoding)Returns a static content resource from the resource manager.ContentResourceRuntimeServices. getContent(String name)Returns a static content resource from the resource manager.ContentResourceRuntimeServices. getContent(String name, String encoding)Returns a static content resource from the resource manager.static ContentResourceRuntimeSingleton. getContent(String name)Returns a static content resource from the resource manager.static ContentResourceRuntimeSingleton. getContent(String name, String encoding)Returns a static content resource from the resource manager.TemplateRuntimeInstance. getTemplate(String name)Returns aTemplatefrom the resource manager.TemplateRuntimeInstance. getTemplate(String name, String encoding)Returns aTemplatefrom the resource managerTemplateRuntimeServices. getTemplate(String name)Returns aTemplatefrom the resource manager.TemplateRuntimeServices. getTemplate(String name, String encoding)Returns aTemplatefrom the resource managerstatic TemplateRuntimeSingleton. getTemplate(String name)Returns aTemplatefrom the resource manager.static TemplateRuntimeSingleton. getTemplate(String name, String encoding)Returns aTemplatefrom the resource managerbooleanRenderable. render(InternalContextAdapter context, Writer writer) -
Uses of ResourceNotFoundException in org.apache.velocity.runtime.directive
Methods in org.apache.velocity.runtime.directive that throw ResourceNotFoundException Modifier and Type Method Description protected ResourceInclude. getResource(String path, String encoding)Find the resource to includeprotected TemplateParse. getTemplate(String path, String encoding)Find the template to render in the appropriate encodingabstract booleanDirective. render(InternalContextAdapter context, Writer writer, Node node)How this directive is to be renderedbooleanEvaluate. render(InternalContextAdapter context, Writer writer, Node node)Evaluate the argument, convert to a String, and evaluate again (with the same context).booleanInclude. render(InternalContextAdapter context, Writer writer, Node node)iterates through the argument list and renders every argument that is appropriate.booleanParse. render(InternalContextAdapter context, Writer writer, Node node)iterates through the argument list and renders every argument that is appropriate.booleanRuntimeMacro. render(InternalContextAdapter context, Writer writer, Node node)Velocimacro implementation is not known at the init time.booleanRuntimeMacro. 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. -
Uses of ResourceNotFoundException in org.apache.velocity.runtime.parser.node
Methods in org.apache.velocity.runtime.parser.node that throw ResourceNotFoundException Modifier and Type Method Description booleanASTBlock. render(InternalContextAdapter context, Writer writer)booleanASTComment. render(InternalContextAdapter context, Writer writer)booleanASTDirective. render(InternalContextAdapter context, Writer writer)booleanASTElseIfStatement. render(InternalContextAdapter context, Writer writer)booleanASTIfStatement. render(InternalContextAdapter context, Writer writer)booleanNode. render(InternalContextAdapter context, Writer writer)booleanSimpleNode. render(InternalContextAdapter context, Writer writer) -
Uses of ResourceNotFoundException in org.apache.velocity.runtime.resource
Methods in org.apache.velocity.runtime.resource that throw ResourceNotFoundException Modifier and Type Method Description ResourceResourceManager. getResource(String resourceName, int resourceType, String encoding)Gets the named resource.ResourceResourceManagerImpl. getResource(String resourceName, int resourceType, String encoding)Gets the named resource.protected ResourceResourceManagerImpl. loadResource(String resourceName, int resourceType, String encoding)Loads a resource from the current set of resource loaders.booleanContentResource. process()Pull in static content and store it.abstract booleanResource. process()Perform any subsequent processing that might need to be done by a resource.protected ResourceResourceManagerImpl. 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 ResourceNotFoundException Modifier and Type Method Description InputStreamJarHolder. getResource(String theentry)ReaderClasspathResourceLoader. getResourceReader(String name, String encoding)Get a Reader so that the Runtime can build a template with it.ReaderDataSourceResourceLoader. getResourceReader(String name, String encoding)Get an InputStream so that the Runtime can build a template with it.ReaderFileResourceLoader. getResourceReader(String templateName, String encoding)Get a Reader so that the Runtime can build a template with it.ReaderJarResourceLoader. getResourceReader(String source, String encoding)Get a Reader so that the Runtime can build a template with it.abstract ReaderResourceLoader. getResourceReader(String source, String encoding)Get the Reader that the Runtime will parse to create a template.ReaderStringResourceLoader. getResourceReader(String name, String encoding)Get a reader so that the Runtime can build a template with it.ReaderURLResourceLoader. getResourceReader(String name, String encoding)Get a Reader so that the Runtime can build a template with it. -
Uses of ResourceNotFoundException in org.apache.velocity.script
Methods in org.apache.velocity.script that throw ResourceNotFoundException Modifier and Type Method Description ReaderVelocityScriptEngine.SingleResourceReader. getResourceReader(String source, String encoding) -
Uses of ResourceNotFoundException in org.apache.velocity.spring
Methods in org.apache.velocity.spring that throw ResourceNotFoundException Modifier and Type Method Description ReaderSpringResourceLoader. getResourceReader(String source, String encoding)Get the Reader that the Runtime will parse to create a template.
-