Package org.exolab.castor.types
Class DateTimeDescriptor
- java.lang.Object
-
- org.exolab.castor.types.BaseDescriptor
-
- org.exolab.castor.types.DateTimeDescriptor
-
- All Implemented Interfaces:
NatureExtendable
,PropertyHolder
,ClassDescriptor
,XMLClassDescriptor
public class DateTimeDescriptor extends BaseDescriptor
The DateTime Descriptor. Note: Under normal circumstances, this descriptor will never be used. Castor treats XSD DateTime values as java.util.Date and parses these values into java.util.Date.- Version:
- $Revision: 0000 $ $Date: $
- Author:
- Edward Kuns
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) class
DateTimeDescriptor.DateTimeFieldHandler
A specialized FieldHandler for the XML Schema DateTime related types.
-
Field Summary
-
Fields inherited from class org.exolab.castor.types.BaseDescriptor
noXMLFields
-
-
Constructor Summary
Constructors Constructor Description DateTimeDescriptor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description XMLFieldDescriptor
getContentDescriptor()
Returns the XMLFieldDescriptor for the member that should be marshalled as text content.FieldDescriptor[]
getFields()
Returns a list of fields represented by this descriptor.-
Methods inherited from class org.exolab.castor.types.BaseDescriptor
addNature, canAccept, checkDescriptorForCorrectOrderWithinSequence, getAccessMode, getAttributeDescriptors, getElementDescriptors, getExtends, getFieldDescriptor, getIdentity, getJavaClass, getNameSpacePrefix, getNameSpaceURI, getProperty, getValidator, getXMLName, hasNature, isChoice, setProperty, toString
-
-
-
-
Method Detail
-
getContentDescriptor
public XMLFieldDescriptor getContentDescriptor()
Returns the XMLFieldDescriptor for the member that should be marshalled as text content.- Specified by:
getContentDescriptor
in interfaceXMLClassDescriptor
- Overrides:
getContentDescriptor
in classBaseDescriptor
- Returns:
- the XMLFieldDescriptor for the member that should be marshalled as text content.
-
getFields
public FieldDescriptor[] getFields()
Returns a list of fields represented by this descriptor.- Specified by:
getFields
in interfaceClassDescriptor
- Overrides:
getFields
in classBaseDescriptor
- Returns:
- A list of fields
-
-