org.exolab.castor.types

Class DurationDescriptor

public class DurationDescriptor extends BaseDescriptor

The Duration Descriptor

Version: $Revision: 1.3 $ $Date: 2005/03/05 13:41:56 $

Author: Arnaud Blandin Keith Visco

Nested Class Summary
classDurationDescriptor.DurationFieldHandler
A specialized FieldHandler for the XML Schema TimeDuration related types
Constructor Summary
DurationDescriptor()
Method Summary
XMLFieldDescriptorgetContentDescriptor()
Returns the XMLFieldDescriptor for the member that should be marshalled as text content.
FieldDescriptor[]getFields()
Returns a list of fields represented by this descriptor.

Constructor Detail

DurationDescriptor

public DurationDescriptor()

Method Detail

getContentDescriptor

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

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.

Returns: A list of fields

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