freemarker.template.expression
Class OpenParen

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

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

A null class that represents an open parenthesis. This is for the benefit of ExpressionBuilder.

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

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

Constructor Summary
OpenParen()
          Deprecated. use the getInstance() method to avoid excessive object creation
 
Method Summary
static OpenParen 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

OpenParen

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

Default constructor.
Method Detail

getInstance

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