org.melati.util
Class ContextUtil

java.lang.Object
  extended by org.melati.util.ContextUtil

public class ContextUtil
extends java.lang.Object

A single use utility object for placing in a ServletTemplateContext. All it does is allow you to increment a counter.


Constructor Summary
ContextUtil()
          No arg constructor.
 
Method Summary
 java.lang.Integer increment(java.lang.Integer a)
          Increment an Integer.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContextUtil

public ContextUtil()
No arg constructor.

Method Detail

increment

public java.lang.Integer increment(java.lang.Integer a)
Increment an Integer.

Parameters:
a - the Integer to Increment
Returns:
a new Integer one bigger than the argument


Copyright © 2000-2008 PanEris. All Rights Reserved.