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