freemarker.template.expression
Class CloseParen

java.lang.Object
  |
  +--freemarker.template.expression.CloseParen
All Implemented Interfaces:
ExpressionElement, Parenthesis

public final class CloseParen
extends java.lang.Object
implements Parenthesis

A null class that represents a closed parenthesis. This is for the benefit of ExpressionBuilder.

Note:
CloseParen is a singleton instance. Use the getInstance() method to retrieve instances of this model.

Version:
$Id: CloseParen.java,v 1.9 2003/11/27 07:07:10 run2000 Exp $

Constructor Summary
CloseParen()
          Deprecated. use the getInstance() method to avoid excessive object creation
 
Method Summary
static CloseParen getInstance()
          Returns a singleton instance of this class.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CloseParen

public CloseParen()
Deprecated. use the getInstance() method to avoid excessive object creation

Default constructor.
Method Detail

getInstance

public static CloseParen getInstance()
Returns a singleton instance of this class.
Returns:
a new CloseParen instance