Save This Page
Home » freemarker-2.3.13 » freemarker.core » [javadoc | source]
freemarker.core
final class: Assignment [javadoc | source]
java.lang.Object
   freemarker.core.TemplateObject
      freemarker.core.TemplateElement
         freemarker.core.Assignment

All Implemented Interfaces:
    TreeNode

An instruction that assigns a literal or reference, to a single-identifier variable.
Field Summary
static final  int NAMESPACE     
static final  int LOCAL     
static final  int GLOBAL     
Fields inherited from freemarker.core.TemplateElement:
parent,  nestedBlock,  nestedElements
Fields inherited from freemarker.core.TemplateObject:
beginColumn,  beginLine,  endColumn,  endLine
Constructor:
 Assignment(String variableName,
    Expression value,
    int scope) 
    Parameters:
    variableName - the variable name to assign to.
    value - the expression to assign.
    scope - the scope of the assignment, one of NAMESPACE, LOCAL, or GLOBAL
Method from freemarker.core.Assignment Summary:
accept,   getCanonicalForm,   getDescription,   setNamespaceExp
Methods from freemarker.core.TemplateElement:
accept,   children,   getAllowsChildren,   getChildAt,   getChildCount,   getChildNodes,   getDescription,   getIndex,   getNodeName,   getNodeNamespace,   getNodeType,   getParent,   getParentNode,   heedsOpeningWhitespace,   heedsTrailingWhitespace,   isIgnorable,   isLeaf,   nextSibling,   nextTerminalNode,   postParseCleanup,   prevTerminalNode,   previousSibling,   setChildAt,   setParentRecursively
Methods from freemarker.core.TemplateObject:
assertNonNull,   contains,   copyLocationFrom,   getBeginColumn,   getBeginLine,   getCanonicalForm,   getEndColumn,   getEndLine,   getEndLocation,   getSource,   getStartLocation,   getTemplate,   invalidTypeException,   setLocation,   setLocation,   setLocation,   setLocation,   setLocation,   toString
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from freemarker.core.Assignment Detail:
  void accept(Environment env) throws TemplateException 
 public String getCanonicalForm() 
 public String getDescription() 
  void setNamespaceExp(Expression namespaceExp)