Save This Page
Home » cocoon-2.1.11-src » org.apache » cocoon » generation » [javadoc | source]
org.apache.cocoon.generation
public static class: VelocityGenerator.TemplateLoader [javadoc | source]
java.lang.Object
   org.apache.velocity.runtime.resource.loader.ResourceLoader
      org.apache.cocoon.generation.VelocityGenerator$TemplateLoader
Velocity org.apache.velocity.runtime.resource.loader.ResourceLoader implementation to load template resources using Cocoon's SourceResolver . This class is created by the Velocity framework via the ResourceLoaderFactory.
Method from org.apache.cocoon.generation.VelocityGenerator$TemplateLoader Summary:
getLastModified,   getResourceStream,   init,   isSourceModified
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.cocoon.generation.VelocityGenerator$TemplateLoader Detail:
 public long getLastModified(Resource resource) 
 public InputStream getResourceStream(String systemId) throws ResourceNotFoundException 
 public  void init(ExtendedProperties config) 
    Initialize this resource loader. The 'context' property is required and must be of type Context . The context is used to pass the Cocoon SourceResolver for the current pipeline.
 public boolean isSourceModified(Resource resource)