org.exolab.castor.jdo.conf

Class DriverDescriptor

public class DriverDescriptor extends Object implements XMLClassDescriptor

Version: $Revision: 1.2 $ $Date: 2004/12/17 05:47:55 $

Constructor Summary
DriverDescriptor()
Method Summary
booleancanAccept(String name, String namespace, Object object)
false
AccessModegetAccessMode()
XMLFieldDescriptor[]getAttributeDescriptors()
XMLFieldDescriptorgetContentDescriptor()
XMLFieldDescriptor[]getElementDescriptors()
ClassDescriptorgetExtends()
XMLFieldDescriptorgetFieldDescriptor(String name, String namespace, NodeType nodeType)
Returns the XML field descriptor matching the given xml name and nodeType.
FieldDescriptor[]getFields()
FieldDescriptorgetIdentity()
ClassgetJavaClass()
StringgetNameSpacePrefix()
StringgetNameSpaceURI()
TypeValidatorgetValidator()
StringgetXMLName()

Constructor Detail

DriverDescriptor

public DriverDescriptor()

Method Detail

canAccept

public boolean canAccept(String name, String namespace, Object object)
false

getAccessMode

public AccessMode getAccessMode()

getAttributeDescriptors

public XMLFieldDescriptor[] getAttributeDescriptors()

getContentDescriptor

public XMLFieldDescriptor getContentDescriptor()

getElementDescriptors

public XMLFieldDescriptor[] getElementDescriptors()

getExtends

public ClassDescriptor getExtends()

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.

Parameters: name the xml name to match against nodeType, the NodeType to match against, or null if the node type is not known.

Returns: the matching descriptor, or null if no matching descriptor is available.

getFields

public FieldDescriptor[] getFields()

getIdentity

public FieldDescriptor getIdentity()

getJavaClass

public Class getJavaClass()

getNameSpacePrefix

public String getNameSpacePrefix()

getNameSpaceURI

public String getNameSpaceURI()

getValidator

public TypeValidator getValidator()

getXMLName

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