Class GMonthDayDescriptor
java.lang.Object
org.exolab.castor.types.BaseDescriptor
org.exolab.castor.types.GMonthDayDescriptor
- All Implemented Interfaces:
NatureExtendable, PropertyHolder, ClassDescriptor, XMLClassDescriptor
The gMonthDay Descriptor.
- Version:
- $Revision: 8145 $ $Date: 2005-03-05 06:42:06 -0700 (Sat, 05 Mar 2005) $
- Author:
- Arnaud Blandin
-
Field Summary
Fields inherited from class BaseDescriptor
noXMLFieldsModifier and TypeFieldDescriptionprotected static final XMLFieldDescriptor[]Used for returning no attribute and no element fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the XMLFieldDescriptor for the member that should be marshaled as text content.Returns a list of fields represented by this descriptor.Methods inherited from class BaseDescriptor
addNature, canAccept, checkDescriptorForCorrectOrderWithinSequence, getAccessMode, getAttributeDescriptors, getElementDescriptors, getExtends, getFieldDescriptor, getIdentity, getJavaClass, getNameSpacePrefix, getNameSpaceURI, getProperty, getValidator, getXMLName, hasNature, isChoice, setProperty, toStringModifier and TypeMethodDescriptionvoidAdds a specified nature.booleanReturns true if the given object represented by this XMLClassDescriptor can accept a member whose name is given.voidcheckDescriptorForCorrectOrderWithinSequence(XMLFieldDescriptor elementDescriptor, UnmarshalState parentState, String xmlName) Checks whether the given XMLFieldDescriptor is the one actually expected, given the natural order as defined by a sequence definitionReturns the access mode specified for this class.Returns the set of XMLFieldDescriptors for all members that should be marshalled as XML attributes.Returns the set of XMLFieldDescriptors for all members that should be marshalled as XML elements.Returns the class descriptor of the class extended by this class.getFieldDescriptor(String name, String namespace, NodeType nodeType) Returns the XML field descriptor matching the given xml name and nodeType.Returns the identity field, null if this class has no identity.Returns the Java class represented by this descriptor.Returns the namespace prefix to use when marshalling as XML.Returns the namespace URI used when marshalling and unmarshalling as XML.getProperty(String name) Get a property by its name.Returns a specific validator for the class described by this ClassDescriptor.Returns the XML Name for the Class being described.booleanChecks if a specified nature has been added.booleanisChoice()Indicates whether the XML artifact described by this descriptor is a invalid input: '<'xsd:choice>.voidsetProperty(String name, Object value) Set a property specified by the name to the passed value.toString()Returns the String representation of this XMLClassDescriptor.
-
Constructor Details
-
GMonthDayDescriptor
public GMonthDayDescriptor()
-
-
Method Details
-
getContentDescriptor
Returns the XMLFieldDescriptor for the member that should be marshaled as text content.- Specified by:
getContentDescriptorin interfaceXMLClassDescriptor- Overrides:
getContentDescriptorin classBaseDescriptor- Returns:
- the XMLFieldDescriptor for the member that should be marshaled as text content.
-
getFields
Returns a list of fields represented by this descriptor.- Specified by:
getFieldsin interfaceClassDescriptor- Overrides:
getFieldsin classBaseDescriptor- Returns:
- A list of fields
-