org.exolab.castor.types
Class DateDescriptor

java.lang.Object
  extended by org.exolab.castor.types.BaseDescriptor
      extended by org.exolab.castor.types.DateDescriptor
All Implemented Interfaces:
NatureExtendable, PropertyHolder, ClassDescriptor, XMLClassDescriptor

public class DateDescriptor
extends BaseDescriptor

The Date Descriptor.

Version:
$Revision: 8145 $ $Date: 2006-04-13 06:47:36 -0600 (Thu, 13 Apr 2006) $
Author:
Arnaud Blandin, Keith Visco
See Also:
TimeDurationDescriptor

Nested Class Summary
(package private)  class DateDescriptor.DateFieldHandler
          A specialized FieldHandler for the XML Schema TimeDuration related types
 
Field Summary
 
Fields inherited from class org.exolab.castor.types.BaseDescriptor
noXMLFields
 
Constructor Summary
DateDescriptor()
           
 
Method Summary
 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DateDescriptor

public DateDescriptor()
Method Detail

getContentDescriptor

public XMLFieldDescriptor getContentDescriptor()
Returns the XMLFieldDescriptor for the member that should be marshalled as text content.

Specified by:
getContentDescriptor in interface XMLClassDescriptor
Overrides:
getContentDescriptor in class BaseDescriptor
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 interface ClassDescriptor
Overrides:
getFields in class BaseDescriptor
Returns:
A list of fields


Intalio Inc. (C) 1999-2008. All rights reserved http://www.intalio.com