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
Class PropertyDescriptor.
- 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.booleanMethod 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, validateMethods inherited from class org.exolab.castor.xml.Validator
checkUnresolvedIdrefs
-
Constructor Details
-
PropertyDescriptor
public PropertyDescriptor()
-
-
Method Details
-
getAccessMode
Method getAccessMode.- Overrides:
getAccessModein classPropertyTypeDescriptor- Returns:
- the access mode specified for this class.
-
getIdentity
Method getIdentity.- Specified by:
getIdentityin interfaceClassDescriptor- Overrides:
getIdentityin classPropertyTypeDescriptor- Returns:
- the identity field, null if this class has no identity.
-
getJavaClass
Method getJavaClass.- Specified by:
getJavaClassin interfaceClassDescriptor- Overrides:
getJavaClassin classPropertyTypeDescriptor- Returns:
- the Java class represented by this descriptor.
-
getNameSpacePrefix
Method getNameSpacePrefix.- Specified by:
getNameSpacePrefixin interfaceXMLClassDescriptor- Overrides:
getNameSpacePrefixin classPropertyTypeDescriptor- Returns:
- the namespace prefix to use when marshaling as XML.
-
getNameSpaceURI
Method getNameSpaceURI.- Specified by:
getNameSpaceURIin interfaceXMLClassDescriptor- Overrides:
getNameSpaceURIin classPropertyTypeDescriptor- Returns:
- the namespace URI used when marshaling and unmarshaling as XML.
-
getValidator
Method getValidator.- Specified by:
getValidatorin interfaceXMLClassDescriptor- Overrides:
getValidatorin classPropertyTypeDescriptor- Returns:
- a specific validator for the class described by this ClassDescriptor.
-
getXMLName
Method getXMLName.- Specified by:
getXMLNamein interfaceXMLClassDescriptor- Overrides:
getXMLNamein classPropertyTypeDescriptor- Returns:
- the XML Name for the Class being described.
-
isElementDefinition
public boolean isElementDefinition()Method isElementDefinition.- Overrides:
isElementDefinitionin classPropertyTypeDescriptor- Returns:
- true if XML schema definition of this Class is that of a global element or element with anonymous type definition.
-