Class IncludeTypeDescriptor
java.lang.Object
org.exolab.castor.xml.Validator
org.exolab.castor.xml.util.XMLClassDescriptorImpl
org.exolab.castor.builder.binding.xml.descriptors.IncludeTypeDescriptor
- All Implemented Interfaces:
NatureExtendable
,PropertyHolder
,ClassDescriptor
,TypeValidator
,ClassValidator
,XMLClassDescriptor
Class IncludeTypeDescriptor.
- Version:
- $Revision$ $Date$
-
Field Summary
Fields inherited from class org.exolab.castor.xml.Validator
resourceBundle
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionMethod getAccessMode.Method getIdentity.Method getJavaClass.Method getNameSpacePrefix.Method getNameSpaceURI.Method getValidator.Method getXMLName.boolean
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
-
Constructor Details
-
IncludeTypeDescriptor
public IncludeTypeDescriptor()
-
-
Method Details
-
getAccessMode
Method getAccessMode.- Overrides:
getAccessMode
in classXMLClassDescriptorImpl
- Returns:
- the access mode specified for this class.
-
getIdentity
Method getIdentity.- Specified by:
getIdentity
in interfaceClassDescriptor
- Overrides:
getIdentity
in classXMLClassDescriptorImpl
- Returns:
- the identity field, null if this class has no identity.
-
getJavaClass
Method getJavaClass.- Specified by:
getJavaClass
in interfaceClassDescriptor
- Overrides:
getJavaClass
in classXMLClassDescriptorImpl
- Returns:
- the Java class represented by this descriptor.
-
getNameSpacePrefix
Method getNameSpacePrefix.- Specified by:
getNameSpacePrefix
in interfaceXMLClassDescriptor
- Overrides:
getNameSpacePrefix
in classXMLClassDescriptorImpl
- Returns:
- the namespace prefix to use when marshaling as XML.
-
getNameSpaceURI
Method getNameSpaceURI.- Specified by:
getNameSpaceURI
in interfaceXMLClassDescriptor
- Overrides:
getNameSpaceURI
in classXMLClassDescriptorImpl
- Returns:
- the namespace URI used when marshaling and unmarshaling as XML.
-
getValidator
Method getValidator.- Specified by:
getValidator
in interfaceXMLClassDescriptor
- Overrides:
getValidator
in classXMLClassDescriptorImpl
- Returns:
- a specific validator for the class described by this ClassDescriptor.
-
getXMLName
Method getXMLName.- Specified by:
getXMLName
in interfaceXMLClassDescriptor
- Overrides:
getXMLName
in classXMLClassDescriptorImpl
- Returns:
- the XML Name for the Class being described.
-
isElementDefinition
public boolean isElementDefinition()Method isElementDefinition.- Overrides:
isElementDefinition
in classXMLClassDescriptorImpl
- Returns:
- true if XML schema definition of this Class is that of a global element or element with anonymous type definition.
-