org.apache.ws.jaxme.generator.types
Class DateSG

java.lang.Object
  extended byorg.apache.ws.jaxme.generator.sg.impl.JAXBSGItem
      extended byorg.apache.ws.jaxme.generator.types.SimpleTypeSGImpl
          extended byorg.apache.ws.jaxme.generator.types.AtomicTypeSGImpl
              extended byorg.apache.ws.jaxme.generator.types.DateTimeSG
                  extended byorg.apache.ws.jaxme.generator.types.DateSG
All 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, java.lang.String pValue)
           
protected  java.lang.String getDatatypeName()
           
protected  java.lang.Class getFormatClass()
           
 
Methods inherited from class org.apache.ws.jaxme.generator.types.DateTimeSG
forAllNonNullValues, forAllValues, getCastFromString, getCastToString, getDatatypeType, getRuntimeType
 
Methods inherited from class org.apache.ws.jaxme.generator.types.AtomicTypeSGImpl
getAtomicType, getEqualsCheck, isAtomic, isCausingParseConversionEvent
 
Methods inherited from class org.apache.ws.jaxme.generator.types.SimpleTypeSGImpl
addValidation, generate, generate, getCollectionType, getFacet, getFacets, getFactory, getInitialValue, getListType, getLocator, getSchema, getUnionType, getXMLSetMethod, getXSType, hasSetMethod, init, isList, isNullable, isUnion, setNullable, setNullable
 
Methods inherited from class org.apache.ws.jaxme.generator.sg.impl.JAXBSGItem
getFactory, getLocator, getSchema, getXSObject
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DateSG

public DateSG(SGFactory pFactory,
              SchemaSG pSchema,
              XSType pType)
       throws org.xml.sax.SAXException

Creates a new instance of DateSG.

Method Detail

getDatatypeName

protected java.lang.String getDatatypeName()
Overrides:
getDatatypeName in class DateTimeSG

getFormatClass

protected java.lang.Class getFormatClass()
Overrides:
getFormatClass in class DateTimeSG

getCastFromString

public TypedValue getCastFromString(SimpleTypeSG pController,
                                    java.lang.String pValue)
                             throws org.xml.sax.SAXException
Specified by:
getCastFromString in interface SimpleTypeSGChain
Overrides:
getCastFromString in class DateTimeSG
Throws:
org.xml.sax.SAXException