org.jboss.portal.widget.google.type
Class DataType

java.lang.Object
  extended by org.jboss.portal.widget.google.type.DataType
Direct Known Subclasses:
BoolType, EnumType, HiddenType, ListType, LocationType, StringType

public abstract class DataType
extends java.lang.Object

An abstract type for the different datatypes.

Version:
$Revision: 1.1 $
Author:
Julien Viet

Field Summary
static int BOOL
          .
static int ENUM
          .
static int HIDDEN
          .
static int LIST
          .
static int LOCATION
          .
static int STRING
          .
 
Constructor Summary
DataType()
           
 
Method Summary
abstract  int getOrdinal()
           
static int parseDataTypeLiteral(java.lang.String literal)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

STRING

public static final int STRING
.

See Also:
Constant Field Values

BOOL

public static final int BOOL
.

See Also:
Constant Field Values

ENUM

public static final int ENUM
.

See Also:
Constant Field Values

HIDDEN

public static final int HIDDEN
.

See Also:
Constant Field Values

LIST

public static final int LIST
.

See Also:
Constant Field Values

LOCATION

public static final int LOCATION
.

See Also:
Constant Field Values
Constructor Detail

DataType

public DataType()
Method Detail

getOrdinal

public abstract int getOrdinal()

parseDataTypeLiteral

public static int parseDataTypeLiteral(java.lang.String literal)