org.apache.portals.bridges.jsf
Class NullEnumeration

java.lang.Object
  extended by org.apache.portals.bridges.jsf.NullEnumeration
All Implemented Interfaces:
java.util.Enumeration

public final class NullEnumeration
extends java.lang.Object
implements java.util.Enumeration

Enumeration without elements

Code provided by MyFaces project.

Author:
David Le Strat

Constructor Summary
NullEnumeration()
           
 
Method Summary
 boolean hasMoreElements()
           
static NullEnumeration instance()
           
 java.lang.Object nextElement()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NullEnumeration

public NullEnumeration()
Method Detail

instance

public static final NullEnumeration instance()
Returns:
An instance of the enumeration.

hasMoreElements

public boolean hasMoreElements()
Specified by:
hasMoreElements in interface java.util.Enumeration
See Also:
Enumeration.hasMoreElements()

nextElement

public java.lang.Object nextElement()
Specified by:
nextElement in interface java.util.Enumeration
See Also:
Enumeration.nextElement()


Copyright © 1999-2011 Apache Software Foundation. All Rights Reserved.