org.apache.shale.clay.component.chain
Class SequenceGenerator
java.lang.Object
org.apache.shale.clay.component.chain.SequenceGenerator
public class SequenceGenerator
- extends Object
Generates a unique id used to identify each component in the component tree.
The id's will be prefixed with "_idsc" followed by a sequential incremented
number. This class will be used outside of the implementation of the
UIViewRoot
's createUniqueId method. This object will be cached
in request scope each time the view is rendered and the component tree contains
one or more Clay
components.
This class is only used with the myfaces implementation.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SequenceGenerator
public SequenceGenerator()
createUniqueId
public String createUniqueId()
Returns a unique component id prefixed with "_idsc".
- Returns:
- a unique id per object instance
Copyright © 2004-2006 Apache Software Foundation. All Rights Reserved.