org.exolab.castor.tests.framework.testDescriptor.descriptors
Class ConfigurationDescriptor

java.lang.Object
  extended by org.exolab.castor.xml.Validator
      extended by org.exolab.castor.xml.util.XMLClassDescriptorImpl
          extended by org.exolab.castor.tests.framework.testDescriptor.descriptors.ConfigurationDescriptor
All Implemented Interfaces:
NatureExtendable, PropertyHolder, ClassDescriptor, TypeValidator, ClassValidator, XMLClassDescriptor

public class ConfigurationDescriptor
extends XMLClassDescriptorImpl

Class ConfigurationDescriptor.

Version:
$Revision$ $Date$

Field Summary
 
Fields inherited from class org.exolab.castor.xml.Validator
resourceBundle
 
Constructor Summary
ConfigurationDescriptor()
           
 
Method Summary
 AccessMode getAccessMode()
          Method getAccessMode.
 FieldDescriptor getIdentity()
          Method getIdentity.
 java.lang.Class getJavaClass()
          Method getJavaClass.
 java.lang.String getNameSpacePrefix()
          Method getNameSpacePrefix.
 java.lang.String getNameSpaceURI()
          Method getNameSpaceURI.
 TypeValidator getValidator()
          Method getValidator.
 java.lang.String getXMLName()
          Method getXMLName.
 boolean isElementDefinition()
          Method isElementDefinition.
 
Methods inherited from class org.exolab.castor.xml.util.XMLClassDescriptorImpl
addFieldDescriptor, addNature, addSequenceElement, canAccept, checkDescriptorForCorrectOrderWithinSequence, contains, getAttributeDescriptors, getContentDescriptor, getElementDescriptors, getExtends, getFieldDescriptor, getFields, getProperty, getSubstitutes, hasContainerFields, hasNature, isChoice, removeFieldDescriptor, setCompositorAsAll, setCompositorAsChoice, setCompositorAsSequence, setElementDefinition, setExtends, setExtendsWithoutFlatten, setIdentity, setIntrospected, setJavaClass, setNameSpacePrefix, setNameSpaceURI, setProperty, setSubstitutes, setXMLName, sortDescriptors, toString, validate, validate
 
Methods inherited from class org.exolab.castor.xml.Validator
checkUnresolvedIdrefs
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ConfigurationDescriptor

public ConfigurationDescriptor()
Method Detail

getAccessMode

public AccessMode getAccessMode()
Method getAccessMode.

Overrides:
getAccessMode in class XMLClassDescriptorImpl
Returns:
the access mode specified for this class.

getIdentity

public FieldDescriptor getIdentity()
Method getIdentity.

Specified by:
getIdentity in interface ClassDescriptor
Overrides:
getIdentity in class XMLClassDescriptorImpl
Returns:
the identity field, null if this class has no identity.

getJavaClass

public java.lang.Class getJavaClass()
Method getJavaClass.

Specified by:
getJavaClass in interface ClassDescriptor
Overrides:
getJavaClass in class XMLClassDescriptorImpl
Returns:
the Java class represented by this descriptor.

getNameSpacePrefix

public java.lang.String getNameSpacePrefix()
Method getNameSpacePrefix.

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

getNameSpaceURI

public java.lang.String getNameSpaceURI()
Method getNameSpaceURI.

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

getValidator

public TypeValidator getValidator()
Method getValidator.

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

getXMLName

public java.lang.String getXMLName()
Method getXMLName.

Specified by:
getXMLName in interface XMLClassDescriptor
Overrides:
getXMLName in class XMLClassDescriptorImpl
Returns:
the XML Name for the Class being described.

isElementDefinition

public boolean isElementDefinition()
Method isElementDefinition.

Overrides:
isElementDefinition in class XMLClassDescriptorImpl
Returns:
true if XML schema definition of this Class is that of a global element or element with anonymous type definition.


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