org.eclipse.webdav.internal.kernel.utils
Class EnumerationConverter

java.lang.Object
  extended by org.eclipse.webdav.internal.kernel.utils.EnumerationFilter
      extended by org.eclipse.webdav.internal.kernel.utils.EnumerationConverter
All Implemented Interfaces:
Enumeration
Direct Known Subclasses:
Context.ContextKeyToStringEnum

public abstract class EnumerationConverter
extends EnumerationFilter


Field Summary
protected  Enumeration sourceEnum
           
 
Constructor Summary
EnumerationConverter(Enumeration sourceEnum)
           
 
Method Summary
 boolean hasMoreElements()
           
abstract  Object nextElement()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

sourceEnum

protected Enumeration sourceEnum
Constructor Detail

EnumerationConverter

public EnumerationConverter(Enumeration sourceEnum)
Method Detail

hasMoreElements

public boolean hasMoreElements()
Specified by:
hasMoreElements in interface Enumeration
Specified by:
hasMoreElements in class EnumerationFilter
See Also:
hasMoreElements()

nextElement

public abstract Object nextElement()
Specified by:
nextElement in interface Enumeration
Specified by:
nextElement in class EnumerationFilter
See Also:
Subclasses should override ths method to convert the source enum objects to the new types.


Copyright © 2001-2014 JBoss by Red Hat. All Rights Reserved.