Copyright (C) 2003,2004 dr. Cristiano Sadun

org.sadun.text.ffp
Class Type

java.lang.Object
  extended byorg.sadun.text.ffp.Type

public class Type
extends java.lang.Object

This class declares the field types recognized by LineFormat and exposes them via public constant members.

This class cannot be instantiated directly.

Version:
1.0
Author:
Cristiano Sadun

Field Summary
static Type ALFA
          The field is alphanumeric
static Type CONSTANT
          The field is a (alphanumeric) constant
static Type NUMERIC
          The field is numeric
static Type UNDEFINED
          Declares that no information is known about the field
 
Constructor Summary
protected Type(int code, java.lang.String description)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
          Return true if the given object is the same type as this
 java.lang.String toString()
          Return a description of the type.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

UNDEFINED

public static final Type UNDEFINED
Declares that no information is known about the field


ALFA

public static final Type ALFA
The field is alphanumeric


NUMERIC

public static final Type NUMERIC
The field is numeric


CONSTANT

public static final Type CONSTANT
The field is a (alphanumeric) constant

Constructor Detail

Type

protected Type(int code,
               java.lang.String description)
Method Detail

equals

public final boolean equals(java.lang.Object obj)
Return true if the given object is the same type as this

Returns:
true if the given object is the same type as this

toString

public java.lang.String toString()
Return a description of the type.

Returns:
a description of the type.

Copyright (C) 2003,2004 dr. Cristiano Sadun