org.exolab.castor.types

Class YearDescriptor

public class YearDescriptor extends BaseDescriptor

The Month Descriptor

Version: $Revision: 1.2 $ $Date: 2003/04/23 06:35:24 $

Author: Arnaud Blandin Keith Visco

Nested Class Summary
classYearDescriptor.YearFieldHandler
A specialized FieldHandler for the XML Schema Year related types
Constructor Summary
YearDescriptor()
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

YearDescriptor

public YearDescriptor()

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-2003. All rights reserved http://www.intalio.com