fi.hut.tml.xsmiles.mlfc.xforms.data
Class DataFactory

java.lang.Object
  extended byfi.hut.tml.xsmiles.mlfc.xforms.data.DataFactory
Direct Known Subclasses:
PSVIDataFactory

public class DataFactory
extends java.lang.Object


Field Summary
 short PRIMITIVE_ANYURI
          "anyURI" type
 short PRIMITIVE_BASE64BINARY
          "base64Binary" type
 short PRIMITIVE_BOOLEAN
          "boolean" type
 short PRIMITIVE_DATE
          "date" type
 short PRIMITIVE_DATETIME
          "dataTime" type
static short PRIMITIVE_DATETIME_STATIC
           
 short PRIMITIVE_DECIMAL
          "decimal" type
 short PRIMITIVE_DOUBLE
          "double" type
 short PRIMITIVE_DURATION
          "duration" type
 short PRIMITIVE_FLOAT
          "float" type
 short PRIMITIVE_GDAY
          "gDay" type
 short PRIMITIVE_GMONTH
          "gMonth" type
 short PRIMITIVE_GMONTHDAY
          "gMonthDay" type
 short PRIMITIVE_GYEAR
          "gYear" type
 short PRIMITIVE_GYEARMONTH
          "gYearMonth" type
 short PRIMITIVE_HEXBINARY
          "hexBinary" type
static short PRIMITIVE_NOTATION
          "NOTATION" type
 short PRIMITIVE_QNAME
          "QName" type
 short PRIMITIVE_STRING
          "string" type
 short PRIMITIVE_TIME
          "time" type
static int XSMILES_BASE
           
static int XSMILES_INTEGER
           
 
Constructor Summary
DataFactory()
           
 
Method Summary
 Data createData(int primitiveType)
          create a data object based on the Xerces primitive type id
protected  void initializeDatatypeIDs()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PRIMITIVE_STRING

public short PRIMITIVE_STRING
"string" type


PRIMITIVE_BOOLEAN

public short PRIMITIVE_BOOLEAN
"boolean" type


PRIMITIVE_DECIMAL

public short PRIMITIVE_DECIMAL
"decimal" type


PRIMITIVE_FLOAT

public short PRIMITIVE_FLOAT
"float" type


PRIMITIVE_DOUBLE

public short PRIMITIVE_DOUBLE
"double" type


PRIMITIVE_DURATION

public short PRIMITIVE_DURATION
"duration" type


PRIMITIVE_DATETIME

public short PRIMITIVE_DATETIME
"dataTime" type


PRIMITIVE_TIME

public short PRIMITIVE_TIME
"time" type


PRIMITIVE_DATE

public short PRIMITIVE_DATE
"date" type


PRIMITIVE_GYEARMONTH

public short PRIMITIVE_GYEARMONTH
"gYearMonth" type


PRIMITIVE_GYEAR

public short PRIMITIVE_GYEAR
"gYear" type


PRIMITIVE_GMONTHDAY

public short PRIMITIVE_GMONTHDAY
"gMonthDay" type


PRIMITIVE_GDAY

public short PRIMITIVE_GDAY
"gDay" type


PRIMITIVE_GMONTH

public short PRIMITIVE_GMONTH
"gMonth" type


PRIMITIVE_HEXBINARY

public short PRIMITIVE_HEXBINARY
"hexBinary" type


PRIMITIVE_BASE64BINARY

public short PRIMITIVE_BASE64BINARY
"base64Binary" type


PRIMITIVE_ANYURI

public short PRIMITIVE_ANYURI
"anyURI" type


PRIMITIVE_QNAME

public short PRIMITIVE_QNAME
"QName" type


PRIMITIVE_NOTATION

public static short PRIMITIVE_NOTATION
"NOTATION" type


XSMILES_BASE

public static final int XSMILES_BASE
See Also:
Constant Field Values

XSMILES_INTEGER

public static final int XSMILES_INTEGER
See Also:
Constant Field Values

PRIMITIVE_DATETIME_STATIC

public static short PRIMITIVE_DATETIME_STATIC
Constructor Detail

DataFactory

public DataFactory()
Method Detail

initializeDatatypeIDs

protected void initializeDatatypeIDs()

createData

public Data createData(int primitiveType)
create a data object based on the Xerces primitive type id



X-Smiles 1.2