org.exolab.castor.mapping.xml
Class ParamDescriptor

java.lang.Object
  extended by org.exolab.castor.xml.Validator
      extended by org.exolab.castor.xml.util.XMLClassDescriptorImpl
          extended by org.exolab.castor.mapping.xml.ParamDescriptor
All Implemented Interfaces:
ClassDescriptor, ClassValidator, TypeValidator, XMLClassDescriptor

public class ParamDescriptor
extends XMLClassDescriptorImpl

Version:
$Revision: 1.1.1.1 $ $Date: 2003/03/03 07:08:37 $

Constructor Summary
ParamDescriptor()
           
 
Method Summary
 AccessMode getAccessMode()
          Returns the access mode specified for this class.
 ClassDescriptor getExtends()
          Returns the class descriptor of the class extended by this class.
 FieldDescriptor getIdentity()
          Returns the identity field, null if this class has no identity.
 java.lang.Class getJavaClass()
          Returns the Java class represented by this descriptor.
 java.lang.String getNameSpacePrefix()
          Returns the namespace prefix to use when marshalling as XML.
 java.lang.String getNameSpaceURI()
          Returns the namespace URI used when marshalling and unmarshalling as XML.
 TypeValidator getValidator()
          Returns a specific validator for the class described by this ClassDescriptor.
 java.lang.String getXMLName()
          Returns the XML Name for the Class being described.
 
Methods inherited from class org.exolab.castor.xml.util.XMLClassDescriptorImpl
addFieldDescriptor, canAccept, contains, getAttributeDescriptors, getContentDescriptor, getElementDescriptors, getFieldDescriptor, getFields, hasContainerFields, removeFieldDescriptor, setCompositorAsAll, setCompositorAsChoice, setCompositorAsSequence, setExtends, setExtendsWithoutFlatten, setIdentity, setIntrospected, setJavaClass, setNameSpacePrefix, setNameSpaceURI, setXMLName, sortDescriptors, toString, toXMLName, validate, validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ParamDescriptor

public ParamDescriptor()
Method Detail

getAccessMode

public AccessMode getAccessMode()
Description copied from class: XMLClassDescriptorImpl
Returns the access mode specified for this class.

Specified by:
getAccessMode in interface ClassDescriptor
Overrides:
getAccessMode in class XMLClassDescriptorImpl
Returns:
The access mode

getExtends

public ClassDescriptor getExtends()
Description copied from class: XMLClassDescriptorImpl
Returns the class descriptor of the class extended by this class.

Specified by:
getExtends in interface ClassDescriptor
Overrides:
getExtends in class XMLClassDescriptorImpl
Returns:
The extended class descriptor

getIdentity

public FieldDescriptor getIdentity()
Description copied from class: XMLClassDescriptorImpl
Returns the identity field, null if this class has no identity.

Specified by:
getIdentity in interface ClassDescriptor
Overrides:
getIdentity in class XMLClassDescriptorImpl
Returns:
The identity field

getJavaClass

public java.lang.Class getJavaClass()
Description copied from class: XMLClassDescriptorImpl
Returns the Java class represented by this descriptor.

Specified by:
getJavaClass in interface ClassDescriptor
Overrides:
getJavaClass in class XMLClassDescriptorImpl
Returns:
The Java class

getNameSpacePrefix

public java.lang.String getNameSpacePrefix()
Description copied from interface: XMLClassDescriptor
Returns the namespace prefix to use when marshalling as XML.

Specified by:
getNameSpacePrefix in interface XMLClassDescriptor
Overrides:
getNameSpacePrefix in class XMLClassDescriptorImpl
Returns:
the namespace prefix to use when marshalling as XML.

getNameSpaceURI

public java.lang.String getNameSpaceURI()
Description copied from interface: XMLClassDescriptor
Returns the namespace URI used when marshalling and unmarshalling as XML.

Specified by:
getNameSpaceURI in interface XMLClassDescriptor
Overrides:
getNameSpaceURI in class XMLClassDescriptorImpl
Returns:
the namespace URI used when marshalling and unmarshalling as XML.

getValidator

public TypeValidator getValidator()
Description copied from class: XMLClassDescriptorImpl
Returns a specific validator for the class described by this ClassDescriptor. A null value may be returned if no specific validator exists.

Specified by:
getValidator in interface XMLClassDescriptor
Overrides:
getValidator in class XMLClassDescriptorImpl
Returns:
the type validator for the class described by this ClassDescriptor.

getXMLName

public java.lang.String getXMLName()
Description copied from class: XMLClassDescriptorImpl
Returns the XML Name for the Class being described.

Specified by:
getXMLName in interface XMLClassDescriptor
Overrides:
getXMLName in class XMLClassDescriptorImpl
Returns:
the XML name.


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