Class CustomIncludeDirective
java.lang.Object
org.apache.velocity.runtime.directive.Directive
org.apache.velocity.runtime.directive.InputBase
org.apache.velocity.runtime.directive.Include
com.norconex.commons.lang.config.vlt.CustomIncludeDirective
- All Implemented Interfaces:
Cloneable,DirectiveConstants
-
Field Summary
Fields inherited from interface org.apache.velocity.runtime.directive.DirectiveConstants
BLOCK, LINE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanrender(InternalContextAdapter context, Writer writer, Node node) Methods inherited from class org.apache.velocity.runtime.directive.Include
getName, getResource, getType, init, isScopeProvidedMethods inherited from class org.apache.velocity.runtime.directive.InputBase
getInputEncodingMethods inherited from class org.apache.velocity.runtime.directive.Directive
checkArgs, getColumn, getLine, getScopeName, getTemplate, getTemplateName, makeScope, postRender, preRender, setLocation, setLocation
-
Constructor Details
-
CustomIncludeDirective
public CustomIncludeDirective()
-
-
Method Details
-
render
public boolean render(InternalContextAdapter context, Writer writer, Node node) throws IOException, MethodInvocationException, ResourceNotFoundException - Overrides:
renderin classInclude- Throws:
IOExceptionMethodInvocationExceptionResourceNotFoundException
-