Apache CXF API

org.apache.cxf.aegis.type.basic
Class SqlDateType

java.lang.Object
  extended by org.apache.cxf.aegis.type.AegisType
      extended by org.apache.cxf.aegis.type.basic.DateType
          extended by org.apache.cxf.aegis.type.basic.SqlDateType

public class SqlDateType
extends DateType

AegisType for the java.sql.Date class which serializes as an xsd:date (no time information).

Author:
Dan Diephouse

Field Summary
 
Fields inherited from class org.apache.cxf.aegis.type.AegisType
typeClass
 
Constructor Summary
SqlDateType()
           
 
Method Summary
 Object readObject(MessageReader reader, Context context)
          Read in the XML fragment and create an object.
 void writeObject(Object object, MessageWriter writer, Context context)
          Writes the object to the MessageWriter.
 
Methods inherited from class org.apache.cxf.aegis.type.AegisType
addToSchemaElement, equals, getDependencies, getMaxOccurs, getMinOccurs, getSchemaType, getType, getTypeClass, getTypeMapping, hashCode, hasMaxOccurs, hasMinOccurs, isAbstract, isComplex, isFlatArray, isNillable, isWriteOuter, setAbstract, setFlatArray, setNillable, setSchemaType, setTypeClass, setTypeMapping, setWriteOuter, toString, usesUtilityTypes, usesXmime, writeSchema
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SqlDateType

public SqlDateType()
Method Detail

readObject

public Object readObject(MessageReader reader,
                         Context context)
                  throws DatabindingException
Description copied from class: AegisType
Read in the XML fragment and create an object.

Overrides:
readObject in class DateType
Returns:
Throws:
DatabindingException

writeObject

public void writeObject(Object object,
                        MessageWriter writer,
                        Context context)
Description copied from class: AegisType
Writes the object to the MessageWriter.

Overrides:
writeObject in class DateType

Apache CXF API

Apache CXF