Public Member Functions | |
DateClassDescriptor () | |
XMLFieldDescriptor[] | getAttributeDescriptors () |
XMLFieldDescriptor | getContentDescriptor () |
XMLFieldDescriptor[] | getElementDescriptors () |
XMLFieldDescriptor | getFieldDescriptor (String name, String namespace, NodeType nodeType) |
String | getNameSpacePrefix () |
String | getNameSpaceURI () |
TypeValidator | getValidator () |
String | getXMLName () |
String | toString () |
Class | getJavaClass () |
FieldDescriptor[] | getFields () |
ClassDescriptor | getExtends () |
FieldDescriptor | getIdentity () |
AccessMode | getAccessMode () |
boolean | canAccept (String name, String namespace, Object object) |
A ClassDescriptor for java.util.Date
org.exolab.castor.xml.descriptors.DateClassDescriptor.DateClassDescriptor | ( | ) |
boolean org.exolab.castor.xml.descriptors.DateClassDescriptor.canAccept | ( | String | name, | |
String | namespace, | |||
Object | object | |||
) |
Returns true if the given object represented by this XMLClassDescriptor can accept a member whose name is given. An XMLClassDescriptor can accept a field if it contains a descriptor that matches the given name and if the given object can hold this field (i.e a value is not already set for this field).
This is mainly used for container object (that can contains other object), in this particular case the implementation will return null.
fieldName | the name of the field to check | |
object | the object represented by this XMLCLassDescriptor |
Implements org.exolab.castor.xml.XMLClassDescriptor.
AccessMode org.exolab.castor.xml.descriptors.DateClassDescriptor.getAccessMode | ( | ) |
Returns the access mode specified for this class.
Implements org.exolab.castor.mapping.ClassDescriptor.
XMLFieldDescriptor [] org.exolab.castor.xml.descriptors.DateClassDescriptor.getAttributeDescriptors | ( | ) |
Returns the set of XMLFieldDescriptors for all members that should be marshalled as XML attributes.
Implements org.exolab.castor.xml.XMLClassDescriptor.
XMLFieldDescriptor org.exolab.castor.xml.descriptors.DateClassDescriptor.getContentDescriptor | ( | ) |
Returns the XMLFieldDescriptor for the member that should be marshalled as text content.
Implements org.exolab.castor.xml.XMLClassDescriptor.
XMLFieldDescriptor [] org.exolab.castor.xml.descriptors.DateClassDescriptor.getElementDescriptors | ( | ) |
Returns the set of XMLFieldDescriptors for all members that should be marshalled as XML elements.
Implements org.exolab.castor.xml.XMLClassDescriptor.
ClassDescriptor org.exolab.castor.xml.descriptors.DateClassDescriptor.getExtends | ( | ) |
Returns the class descriptor of the class extended by this class.
Implements org.exolab.castor.mapping.ClassDescriptor.
XMLFieldDescriptor org.exolab.castor.xml.descriptors.DateClassDescriptor.getFieldDescriptor | ( | String | name, | |
String | namespace, | |||
NodeType | nodeType | |||
) |
Returns the XML field descriptor matching the given xml name and nodeType. If NodeType is null, then either an AttributeDescriptor, or ElementDescriptor may be returned. Null is returned if no matching descriptor is available.
name | the xml name to match against | |
nodeType,the | NodeType to match against, or null if the node type is not known. |
Implements org.exolab.castor.xml.XMLClassDescriptor.
FieldDescriptor [] org.exolab.castor.xml.descriptors.DateClassDescriptor.getFields | ( | ) |
Returns a list of fields represented by this descriptor.
Implements org.exolab.castor.mapping.ClassDescriptor.
FieldDescriptor org.exolab.castor.xml.descriptors.DateClassDescriptor.getIdentity | ( | ) |
Returns the identity field, null if this class has no identity.
Implements org.exolab.castor.mapping.ClassDescriptor.
Class org.exolab.castor.xml.descriptors.DateClassDescriptor.getJavaClass | ( | ) |
Returns the Java class represented by this descriptor.
Implements org.exolab.castor.mapping.ClassDescriptor.
String org.exolab.castor.xml.descriptors.DateClassDescriptor.getNameSpacePrefix | ( | ) |
Implements org.exolab.castor.xml.XMLClassDescriptor.
String org.exolab.castor.xml.descriptors.DateClassDescriptor.getNameSpaceURI | ( | ) |
Implements org.exolab.castor.xml.XMLClassDescriptor.
TypeValidator org.exolab.castor.xml.descriptors.DateClassDescriptor.getValidator | ( | ) |
Returns a specific validator for the class described by this ClassDescriptor. A null value may be returned if no specific validator exists.
Implements org.exolab.castor.xml.XMLClassDescriptor.
String org.exolab.castor.xml.descriptors.DateClassDescriptor.getXMLName | ( | ) |
Returns the XML Name for the Class being described.
Implements org.exolab.castor.xml.XMLClassDescriptor.
String org.exolab.castor.xml.descriptors.DateClassDescriptor.toString | ( | ) |
Returns the String representation of this XMLClassDescriptor