org.exolab.castor.xml.descriptors
Class SQLTimeClassDescriptor
- ClassDescriptor, XMLClassDescriptor
public class SQLTimeClassDescriptor
A ClassDescriptor for java.sql.Time.
$Revision: 7296 $ $Date: 2006-04-13 06:47:36 -0600 (Thu, 13 Apr 2006) $
SQLTimeClassDescriptor
public SQLTimeClassDescriptor()
No-arg constructor.
getAccessMode
public AccessMode getAccessMode()
Returns the access mode specified for this class.
getAttributeDescriptors
public XMLFieldDescriptor[] getAttributeDescriptors()
Returns the set of XMLFieldDescriptors for all members that should be
marshaled as XML attributes.
- getAttributeDescriptors in interface XMLClassDescriptor
- an array of XMLFieldDescriptors for all members that should be
marshaled as XML attributes.
getContentDescriptor
public XMLFieldDescriptor getContentDescriptor()
Returns the XMLFieldDescriptor for the member that should be marshaled
as text content.
- getContentDescriptor in interface XMLClassDescriptor
- the XMLFieldDescriptor for the member that should be marshaled
as text content.
getElementDescriptors
public XMLFieldDescriptor[] getElementDescriptors()
Returns the set of XMLFieldDescriptors for all members that should be
marshaled as XML elements.
- getElementDescriptors in interface XMLClassDescriptor
- an array of XMLFieldDescriptors for all members that should be
marshaled as XML elements.
getFieldDescriptor
public XMLFieldDescriptor 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.
- getFieldDescriptor in interface XMLClassDescriptor
name
- the xml name to match againstnamespace
- the namespace urinodeType
- the NodeType to match against, or null if the node type
is not known.
- the matching descriptor, or null if no matching descriptor is
available.
getJavaClass
public Class getJavaClass()
Returns the Java class represented by this descriptor.
- getJavaClass in interface ClassDescriptor
getValidator
public TypeValidator getValidator()
Returns a specific validator for the class described by this
ClassDescriptor. A null value may be returned if no specific validator
exists.
- getValidator in interface XMLClassDescriptor
- the type validator for the class described by this
ClassDescriptor.
toString
public String toString()
Returns the String representation of this XMLClassDescriptor.
- the String representation of this XMLClassDescriptor.
Intalio Inc. (C) 1999-2008. All rights reserved http://www.intalio.com