com.dynalivery.saffron.client
Class LanguageType

java.lang.Object
  extended bycom.dynalivery.saffron.client.LanguageType

public class LanguageType
extends java.lang.Object

This class defines the allowable Saffron language (input) types


Field Summary
static int FO
          FO input file
static int JASPER
          Jasper input file
static int POSTSCRIPT
          an Adobe PostScript input file
static int SNOA
          a SNOA (serialize neutral object abstraction) input file
protected static java.lang.String[] typeStrings
           
static int WORDML
          WordML input file
 
Constructor Summary
LanguageType()
           
 
Method Summary
static java.lang.String getTypeString(int languageType)
          Returns a descriptive String for the specified language type
static void validate(int languageType)
          Validates the specified language type
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

POSTSCRIPT

public static final int POSTSCRIPT
an Adobe PostScript input file

See Also:
Constant Field Values

SNOA

public static final int SNOA
a SNOA (serialize neutral object abstraction) input file

See Also:
Constant Field Values

FO

public static final int FO
FO input file

See Also:
Constant Field Values

WORDML

public static final int WORDML
WordML input file

See Also:
Constant Field Values

JASPER

public static final int JASPER
Jasper input file

See Also:
Constant Field Values

typeStrings

protected static final java.lang.String[] typeStrings
Constructor Detail

LanguageType

public LanguageType()
Method Detail

validate

public static void validate(int languageType)
                     throws InvalidParameterException
Validates the specified language type

Parameters:
languageType - the integer language type (e.g. LanguageType.POSTSCRIPT)
Throws:
InvalidParameterException - thrown if language type is invalid

getTypeString

public static java.lang.String getTypeString(int languageType)
                                      throws InvalidParameterException
Returns a descriptive String for the specified language type

Parameters:
languageType - the integer language type (e.g. LanguageType.POSTSCRIPT)
Returns:
a descriptive String for the specified language type
Throws:
InvalidParameterException - thrown if language type is invalid