com.google.gwt.user.rebind
Class ClassSourceFileComposerFactory.JavaSourceCategory

java.lang.Object
  extended by com.google.gwt.user.rebind.ClassSourceFileComposerFactory.JavaSourceCategory
Enclosing class:
ClassSourceFileComposerFactory

public static class ClassSourceFileComposerFactory.JavaSourceCategory
extends java.lang.Object

Represents a java source file category. Right now support interface and class, later should support abstract class, static class, etc.


Field Summary
static ClassSourceFileComposerFactory.JavaSourceCategory CLASS
          This type is a class.
static ClassSourceFileComposerFactory.JavaSourceCategory INTERFACE
          This type is a interface.
 
Method Summary
static ClassSourceFileComposerFactory.JavaSourceCategory require(java.lang.String key)
           
static com.google.gwt.user.rebind.Enum require(java.lang.String key, java.util.Map<java.lang.String,com.google.gwt.user.rebind.Enum> pool)
          Requires the specified object from the pool.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

CLASS

public static final ClassSourceFileComposerFactory.JavaSourceCategory CLASS
This type is a class.


INTERFACE

public static final ClassSourceFileComposerFactory.JavaSourceCategory INTERFACE
This type is a interface.

Method Detail

require

public static ClassSourceFileComposerFactory.JavaSourceCategory require(java.lang.String key)

require

public static com.google.gwt.user.rebind.Enum require(java.lang.String key,
                                                      java.util.Map<java.lang.String,com.google.gwt.user.rebind.Enum> pool)
Requires the specified object from the pool.

Parameters:
key - the key associated with the Enum
pool - pool to draw key from
Returns:
associated Enum

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object
See Also:
Object.toString()