Save This Page
Home » velocity-1.5 » org.apache » velocity » runtime » directive » [javadoc | source]
org.apache.velocity.runtime.directive
abstract public class: InputBase [javadoc | source]
java.lang.Object
   org.apache.velocity.runtime.directive.Directive
      org.apache.velocity.runtime.directive.InputBase

All Implemented Interfaces:
    Cloneable, DirectiveConstants

Direct Known Subclasses:
    Parse, Include

Base class for directives which do input operations (e.g. #include(), #parse(), etc.).
Fields inherited from org.apache.velocity.runtime.directive.Directive:
rsvc
Method from org.apache.velocity.runtime.directive.InputBase Summary:
getInputEncoding
Methods from org.apache.velocity.runtime.directive.Directive:
getColumn,   getLine,   getName,   getType,   init,   render,   setLocation
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.velocity.runtime.directive.InputBase Detail:
 protected String getInputEncoding(InternalContextAdapter context) 
    Decides the encoding used during input processing of this directive. Get the resource, and assume that we use the encoding of the current template the 'current resource' can be null if we are processing a stream....