org.yawlfoundation.yawl.schema
Class XSDType

java.lang.Object
  extended by org.yawlfoundation.yawl.schema.XSDType

public class XSDType
extends Object

Author: Michael Adams Creation Date: 14/09/2008


Nested Class Summary
static class XSDType.RestrictionFacet
           
 
Field Summary
static int ANY_TYPE
           
static int ANY_URI
           
static int BASE64_BINARY
           
static int BOOLEAN
           
static int BYTE
           
static int DATE
           
static int DATETIME
           
static int DECIMAL
           
static int DOUBLE
           
static int DURATION
           
static int ENTITIES
           
static int ENTITY
           
static int FLOAT
           
static int GDAY
           
static int GMONTH
           
static int GMONTHDAY
           
static int GYEAR
           
static int GYEARMONTH
           
static int HEX_BINARY
           
static int ID
           
static int IDREF
           
static int IDREFS
           
static int INT
           
static int INTEGER
           
static int INVALID_TYPE
           
static int LANGUAGE
           
static int LONG
           
static int NAME
           
static int NCNAME
           
static int NEGATIVE_INTEGER
           
static int NMTOKEN
           
static int NMTOKENS
           
static int NON_NEGATIVE_INTEGER
           
static int NON_POSITIVE_INTEGER
           
static int NORMALIZED_STRING
           
static int NOTATION
           
static int POSITIVE_INTEGER
           
static int QNAME
           
static int SHORT
           
static int STRING
           
static int TIME
           
static int TOKEN
           
static int UNSIGNED_BYTE
           
static int UNSIGNED_INT
           
static int UNSIGNED_LONG
           
static int UNSIGNED_SHORT
           
 
Method Summary
 String[] getBuiltInTypeArray()
           
 List<String> getBuiltInTypeList()
           
 char[] getConstrainingFacetMap(String type)
           
static XSDType getInstance()
           
static int getOrdinal(String type)
           
static String getString(int type)
           
 boolean isBooleanType(String type)
           
 boolean isBuiltInType(String type)
           
 boolean isDateType(String type)
           
 boolean isFloatType(String type)
           
 boolean isIntegralType(String type)
           
 boolean isNumericType(String type)
           
 boolean isSimpleYAWLType(String type)
           
 boolean isStringForType(String s, int type)
           
 boolean isValidFacet(String facetName, String type)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INVALID_TYPE

public static final int INVALID_TYPE
See Also:
Constant Field Values

ANY_TYPE

public static final int ANY_TYPE
See Also:
Constant Field Values

INTEGER

public static final int INTEGER
See Also:
Constant Field Values

POSITIVE_INTEGER

public static final int POSITIVE_INTEGER
See Also:
Constant Field Values

NEGATIVE_INTEGER

public static final int NEGATIVE_INTEGER
See Also:
Constant Field Values

NON_POSITIVE_INTEGER

public static final int NON_POSITIVE_INTEGER
See Also:
Constant Field Values

NON_NEGATIVE_INTEGER

public static final int NON_NEGATIVE_INTEGER
See Also:
Constant Field Values

INT

public static final int INT
See Also:
Constant Field Values

LONG

public static final int LONG
See Also:
Constant Field Values

SHORT

public static final int SHORT
See Also:
Constant Field Values

BYTE

public static final int BYTE
See Also:
Constant Field Values

UNSIGNED_LONG

public static final int UNSIGNED_LONG
See Also:
Constant Field Values

UNSIGNED_INT

public static final int UNSIGNED_INT
See Also:
Constant Field Values

UNSIGNED_SHORT

public static final int UNSIGNED_SHORT
See Also:
Constant Field Values

UNSIGNED_BYTE

public static final int UNSIGNED_BYTE
See Also:
Constant Field Values

DOUBLE

public static final int DOUBLE
See Also:
Constant Field Values

FLOAT

public static final int FLOAT
See Also:
Constant Field Values

DECIMAL

public static final int DECIMAL
See Also:
Constant Field Values

STRING

public static final int STRING
See Also:
Constant Field Values

NORMALIZED_STRING

public static final int NORMALIZED_STRING
See Also:
Constant Field Values

TOKEN

public static final int TOKEN
See Also:
Constant Field Values

LANGUAGE

public static final int LANGUAGE
See Also:
Constant Field Values

NMTOKEN

public static final int NMTOKEN
See Also:
Constant Field Values

NMTOKENS

public static final int NMTOKENS
See Also:
Constant Field Values

NAME

public static final int NAME
See Also:
Constant Field Values

NCNAME

public static final int NCNAME
See Also:
Constant Field Values

DATE

public static final int DATE
See Also:
Constant Field Values

TIME

public static final int TIME
See Also:
Constant Field Values

DATETIME

public static final int DATETIME
See Also:
Constant Field Values

DURATION

public static final int DURATION
See Also:
Constant Field Values

GDAY

public static final int GDAY
See Also:
Constant Field Values

GMONTH

public static final int GMONTH
See Also:
Constant Field Values

GYEAR

public static final int GYEAR
See Also:
Constant Field Values

GMONTHDAY

public static final int GMONTHDAY
See Also:
Constant Field Values

GYEARMONTH

public static final int GYEARMONTH
See Also:
Constant Field Values

ID

public static final int ID
See Also:
Constant Field Values

IDREF

public static final int IDREF
See Also:
Constant Field Values

IDREFS

public static final int IDREFS
See Also:
Constant Field Values

ENTITY

public static final int ENTITY
See Also:
Constant Field Values

ENTITIES

public static final int ENTITIES
See Also:
Constant Field Values

QNAME

public static final int QNAME
See Also:
Constant Field Values

BOOLEAN

public static final int BOOLEAN
See Also:
Constant Field Values

HEX_BINARY

public static final int HEX_BINARY
See Also:
Constant Field Values

BASE64_BINARY

public static final int BASE64_BINARY
See Also:
Constant Field Values

NOTATION

public static final int NOTATION
See Also:
Constant Field Values

ANY_URI

public static final int ANY_URI
See Also:
Constant Field Values
Method Detail

getInstance

public static XSDType getInstance()

getString

public static String getString(int type)

isSimpleYAWLType

public boolean isSimpleYAWLType(String type)

isBuiltInType

public boolean isBuiltInType(String type)

getOrdinal

public static int getOrdinal(String type)

isNumericType

public boolean isNumericType(String type)

isIntegralType

public boolean isIntegralType(String type)

isFloatType

public boolean isFloatType(String type)

isBooleanType

public boolean isBooleanType(String type)

isDateType

public boolean isDateType(String type)

isStringForType

public boolean isStringForType(String s,
                               int type)

getBuiltInTypeList

public List<String> getBuiltInTypeList()

getBuiltInTypeArray

public String[] getBuiltInTypeArray()

getConstrainingFacetMap

public char[] getConstrainingFacetMap(String type)

isValidFacet

public boolean isValidFacet(String facetName,
                            String type)


Copyright © 2004-2012 The YAWL Foundation.