org.apache.ws.jaxme.generator.types

Class DateSG

Implemented Interfaces:
SimpleTypeSGChain

public class DateSG
extends DateTimeSG

Author:
Jochen Wiedmann

Field Summary

Fields inherited from class org.apache.ws.jaxme.generator.types.DateTimeSG

CALENDAR_TYPE

Constructor Summary

DateSG(SGFactory pFactory, SchemaSG pSchema, XSType pType)
Creates a new instance of DateSG.

Method Summary

TypedValue
getCastFromString(SimpleTypeSG pController, String pValue)
protected String
getDatatypeName()
protected Class
getFormatClass()

Methods inherited from class org.apache.ws.jaxme.generator.types.DateTimeSG

forAllNonNullValues, forAllValues, getCastFromString, getCastFromString, getCastToString, getDatatypeName, getDatatypeType, getFormatClass, getRuntimeType

Methods inherited from class org.apache.ws.jaxme.generator.types.AtomicTypeSGImpl

getAtomicType, getCastFromString, getCastFromString, getCastToString, getDatatypeName, getDatatypeType, getEqualsCheck, isAtomic, isCausingParseConversionEvent

Methods inherited from class org.apache.ws.jaxme.generator.types.SimpleTypeSGImpl

addValidation, generate, generate, getAtomicType, getCollectionType, getFacet, getFacets, getFactory, getInitialValue, getListType, getLocator, getSchema, getUnionType, getXMLSetMethod, getXSType, hasSetMethod, init, isAtomic, isList, isNullable, isUnion, setNullable, setNullable

Methods inherited from class org.apache.ws.jaxme.generator.sg.impl.JAXBSGItem

getFactory, getLocator, getSchema, getXSObject

Constructor Details

DateSG

public DateSG(SGFactory pFactory,
              SchemaSG pSchema,
              XSType pType)
            throws SAXException
Creates a new instance of DateSG.

Method Details

getCastFromString

public TypedValue getCastFromString(SimpleTypeSG pController,
                                    String pValue)
            throws SAXException
Specified by:
getCastFromString in interface SimpleTypeSGChain
Overrides:
getCastFromString in interface DateTimeSG

getDatatypeName

protected String getDatatypeName()
Overrides:
getDatatypeName in interface DateTimeSG

getFormatClass

protected Class getFormatClass()
Overrides:
getFormatClass in interface DateTimeSG