org.optimizationservices.oscommon.util
Class OSConstant

java.lang.Object
  extended by org.optimizationservices.oscommon.util.OSConstant

public class OSConstant
extends java.lang.Object

The OSConstant class stores predefined constants (public, static and final) used in other Optimization Services classes.

Since:
OS 1.0
Version:
1.0, 03/14/2004
Author:
Robert Fourer, Jun Ma, Kipp Martin

Field Summary
static int ERROR
           
static java.lang.String EXTERNAL_NONAMESPACE_SCHEMA
          EXTERNAL_NONAMESPACE_SCHEMA holds the constant for the external no namespace schema location property.
static java.lang.String EXTERNAL_SCHEMA
          EXTERNAL_SCHEMA holds the constant for the external schema location property.
static int FATAL_ERROR
          exception type
static int FILE_OUT
           
static java.lang.String FML_NAMESPACE
          FML_NAMESPACE holds the value of the FML namespace.
static java.lang.String JAXP_SCHEMA_LANGUAGE
          JAXP_SCHEMA_LANGUAGE holds the the constant used to indicate JAXP parser schema language attribute.
static java.lang.String JAXP_SCHEMA_SOURCE
          NAMESPACE_PREFIXES holds the the constant used to indicate JAXP parser schema source attribute.
static java.lang.String JODID_DELIMITER
          JODID_DELIMITER holds the delimiter used in creating a job id.
static int MILLISECONDS_PER_DAY
          MILLISECONDS_PER_DAY holds the milliseconds in a day.
static java.lang.String NAMESPACE_PREFIXES
          NAMESPACE_PREFIXES holds the the constant used to indicate namespace prefixes awareness feature.
static int OPTIMIZATION
           
static java.lang.String OS_NAMESPACE
          OS_NAMESPACE holds the value of the all the OSxL schema namespace.
static java.lang.String SAX_PARSER_FEATURE
          SAX_PARSER_FEATURE holds the constant of the sax parser feature.
static java.lang.String SAX_PARSER_XERCES
          SAX_PARSER_CLASS holds the constant of the actual xerces class that does SAX parsing.
static java.lang.String SAX_VALIDATION_FEATURE
          SAX_VALIDATION_FEATURE holds the constant for whether to set validation feature or not.
static java.lang.String SCHEMA_FEATURE
          SCHEMA_FEATURE holds the constant for whether to set the schema validation feature or not.
static int SERVICES
           
static java.lang.String STANDARD_UNIX_EPOCH
          STANDARD_UNIX_EPOCH holds the Unix epoch time (1970/1/1) in the standard xs:date format.
static int STD_ERR
           
static int STD_OUT
           
static int STRING_OUT
           
static java.lang.String W3C_XML_SCHEMA
          NAMESPACE_PREFIXES holds the the constant used to indicate W3C XML Schema attribute.
static int WARNING
           
static java.lang.String XML_ENCODING_STYLE
           
static java.lang.String XMLNS_XS_VALUE
          XMLNS_XS_VALUE holds the value of the attribute name "xmlns:xs", usually an attribute of many XML documents to define a the namespace "xs", i.e.
static java.lang.String XMLNS_XSI_VALUE
          XMLNS_XSI_VALUE holds the value of the attribute name "xmlns:xsi", usually an attribute of many XML documents to define a the namespace "xsi", i.e.
static java.lang.String XSLT_TANSFORMER_FEATURE
          XSLT_TANSFORMER_FEATURE holds the constant for xslt transformer feature.
static java.lang.String XSLT_TANSFORMER_SAXON6
          XSLT_TANSFORMER_CLASS holds the constant for Saxon 7 xslt transformer.
static java.lang.String XSLT_TANSFORMER_SAXON7
          XSLT_TANSFORMER_CLASS holds the constant for Saxon 7 xslt transformer.
static java.lang.String XSLT_TANSFORMER_XALAN
          XSLT_TANSFORMER_CLASS holds the constant for Xalan xslt transformer.
 
Constructor Summary
OSConstant()
          Default constructor.
 
Method Summary
static void main(java.lang.String[] args)
          main for test purposes.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

STD_ERR

public static final int STD_ERR
See Also:
Constant Field Values

STD_OUT

public static final int STD_OUT
See Also:
Constant Field Values

FILE_OUT

public static final int FILE_OUT
See Also:
Constant Field Values

STRING_OUT

public static final int STRING_OUT
See Also:
Constant Field Values

JODID_DELIMITER

public static final java.lang.String JODID_DELIMITER
JODID_DELIMITER holds the delimiter used in creating a job id.

See Also:
Constant Field Values

STANDARD_UNIX_EPOCH

public static final java.lang.String STANDARD_UNIX_EPOCH
STANDARD_UNIX_EPOCH holds the Unix epoch time (1970/1/1) in the standard xs:date format.

See Also:
Constant Field Values

MILLISECONDS_PER_DAY

public static final int MILLISECONDS_PER_DAY
MILLISECONDS_PER_DAY holds the milliseconds in a day.

See Also:
Constant Field Values

FATAL_ERROR

public static final int FATAL_ERROR
exception type

See Also:
Constant Field Values

ERROR

public static final int ERROR
See Also:
Constant Field Values

WARNING

public static final int WARNING
See Also:
Constant Field Values

OPTIMIZATION

public static final int OPTIMIZATION
See Also:
Constant Field Values

SERVICES

public static final int SERVICES
See Also:
Constant Field Values

XML_ENCODING_STYLE

public static final java.lang.String XML_ENCODING_STYLE
See Also:
Constant Field Values

XSLT_TANSFORMER_FEATURE

public static final java.lang.String XSLT_TANSFORMER_FEATURE
XSLT_TANSFORMER_FEATURE holds the constant for xslt transformer feature.

See Also:
Constant Field Values

XSLT_TANSFORMER_SAXON7

public static final java.lang.String XSLT_TANSFORMER_SAXON7
XSLT_TANSFORMER_CLASS holds the constant for Saxon 7 xslt transformer.

See Also:
Constant Field Values

XSLT_TANSFORMER_SAXON6

public static final java.lang.String XSLT_TANSFORMER_SAXON6
XSLT_TANSFORMER_CLASS holds the constant for Saxon 7 xslt transformer.

See Also:
Constant Field Values

XSLT_TANSFORMER_XALAN

public static final java.lang.String XSLT_TANSFORMER_XALAN
XSLT_TANSFORMER_CLASS holds the constant for Xalan xslt transformer.

See Also:
Constant Field Values

SAX_PARSER_FEATURE

public static final java.lang.String SAX_PARSER_FEATURE
SAX_PARSER_FEATURE holds the constant of the sax parser feature.

See Also:
Constant Field Values

SAX_PARSER_XERCES

public static final java.lang.String SAX_PARSER_XERCES
SAX_PARSER_CLASS holds the constant of the actual xerces class that does SAX parsing.

See Also:
Constant Field Values

SAX_VALIDATION_FEATURE

public static final java.lang.String SAX_VALIDATION_FEATURE
SAX_VALIDATION_FEATURE holds the constant for whether to set validation feature or not.

See Also:
Constant Field Values

SCHEMA_FEATURE

public static final java.lang.String SCHEMA_FEATURE
SCHEMA_FEATURE holds the constant for whether to set the schema validation feature or not.

See Also:
Constant Field Values

EXTERNAL_SCHEMA

public static final java.lang.String EXTERNAL_SCHEMA
EXTERNAL_SCHEMA holds the constant for the external schema location property.

See Also:
Constant Field Values

EXTERNAL_NONAMESPACE_SCHEMA

public static final java.lang.String EXTERNAL_NONAMESPACE_SCHEMA
EXTERNAL_NONAMESPACE_SCHEMA holds the constant for the external no namespace schema location property.

See Also:
Constant Field Values

NAMESPACE_PREFIXES

public static final java.lang.String NAMESPACE_PREFIXES
NAMESPACE_PREFIXES holds the the constant used to indicate namespace prefixes awareness feature.

See Also:
Constant Field Values

JAXP_SCHEMA_LANGUAGE

public static final java.lang.String JAXP_SCHEMA_LANGUAGE
JAXP_SCHEMA_LANGUAGE holds the the constant used to indicate JAXP parser schema language attribute.

See Also:
Constant Field Values

JAXP_SCHEMA_SOURCE

public static final java.lang.String JAXP_SCHEMA_SOURCE
NAMESPACE_PREFIXES holds the the constant used to indicate JAXP parser schema source attribute.

See Also:
Constant Field Values

W3C_XML_SCHEMA

public static final java.lang.String W3C_XML_SCHEMA
NAMESPACE_PREFIXES holds the the constant used to indicate W3C XML Schema attribute.

See Also:
Constant Field Values

XMLNS_XS_VALUE

public static final java.lang.String XMLNS_XS_VALUE
XMLNS_XS_VALUE holds the value of the attribute name "xmlns:xs", usually an attribute of many XML documents to define a the namespace "xs", i.e. XML schema.

See Also:
Constant Field Values

XMLNS_XSI_VALUE

public static final java.lang.String XMLNS_XSI_VALUE
XMLNS_XSI_VALUE holds the value of the attribute name "xmlns:xsi", usually an attribute of many XML documents to define a the namespace "xsi", i.e. XML schema instance.

See Also:
Constant Field Values

FML_NAMESPACE

public static final java.lang.String FML_NAMESPACE
FML_NAMESPACE holds the value of the FML namespace.

See Also:
Constant Field Values

OS_NAMESPACE

public static final java.lang.String OS_NAMESPACE
OS_NAMESPACE holds the value of the all the OSxL schema namespace.

See Also:
Constant Field Values
Constructor Detail

OSConstant

public OSConstant()
Default constructor.

Method Detail

main

public static void main(java.lang.String[] args)
main for test purposes.

Parameters:
argv - command line arguments.