org.portletbridge.portlet
Class DefaultIdGenerator

java.lang.Object
  extended by org.portletbridge.portlet.DefaultIdGenerator
All Implemented Interfaces:
IdGenerator

public class DefaultIdGenerator
extends java.lang.Object
implements IdGenerator

Default Id Generator. Uses the GUIDGenerator to generate url friendly id's.

Author:
jmccrindle

Constructor Summary
DefaultIdGenerator()
          Default Constructor
 
Method Summary
static IdGenerator getInstance()
          Unfortunate, because I can't stand singletons
 java.lang.String nextId()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultIdGenerator

public DefaultIdGenerator()
Default Constructor

Method Detail

getInstance

public static IdGenerator getInstance()
Unfortunate, because I can't stand singletons


nextId

public java.lang.String nextId()
Specified by:
nextId in interface IdGenerator
Returns:
the next integer


Copyright © 2002-2006 Grape Design Limited. All Rights Reserved.