org.apache.wsrp4j.util
Class HandleGeneratorImpl

java.lang.Object
  extended byorg.apache.wsrp4j.util.HandleGeneratorImpl
All Implemented Interfaces:
HandleGenerator

public class HandleGeneratorImpl
extends java.lang.Object
implements HandleGenerator

This class implements the HandleGenerator interface.

Version:
1.1
Author:
Stephan Laertz
See Also:
HandleGenerator

Method Summary
static HandleGeneratorImpl create()
          Returns an instance of HandleGeneratorImpl.
 java.lang.String generateHandle()
          Generates a new handle and returns it as a String.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

create

public static HandleGeneratorImpl create()
Returns an instance of HandleGeneratorImpl.

Returns:
String representing the new handle.

generateHandle

public java.lang.String generateHandle()
Generates a new handle and returns it as a String.

Specified by:
generateHandle in interface HandleGenerator
Returns:
String representing the new handle.