org.exolab.castor.types

Class TimeDurationDescriptor

Implemented Interfaces:
ClassDescriptor, XMLClassDescriptor

public class TimeDurationDescriptor
extends BaseDescriptor

The TimeDuration Descriptor
Version:
$Revision: 1.2 $ $Date: 2003/04/23 06:35:24 $
Authors:
Arnaud Blandin
Keith Visco

Nested Class Summary

(package private) class
TimeDurationDescriptor.TimeDurationFieldHandler
A specialized FieldHandler for the XML Schema TimeDuration related types

Field Summary

Fields inherited from class org.exolab.castor.types.BaseDescriptor

noXMLFields

Constructor Summary

TimeDurationDescriptor()

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

canAccept, getAccessMode, getAttributeDescriptors, getContentDescriptor, getElementDescriptors, getExtends, getFieldDescriptor, getFields, getIdentity, getJavaClass, getNameSpacePrefix, getNameSpaceURI, getValidator, getXMLName, toString

Constructor Details

TimeDurationDescriptor

public TimeDurationDescriptor()

Method Details

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 interface 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 interface BaseDescriptor
Returns:
A list of fields

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