Package org.exolab.castor.mapping
Class ExtendedFieldHandler
- java.lang.Object
-
- org.exolab.castor.mapping.loader.FieldHandlerFriend
-
- org.exolab.castor.mapping.ExtendedFieldHandler
-
- All Implemented Interfaces:
FieldHandler
- Direct Known Subclasses:
AbstractFieldHandler
public abstract class ExtendedFieldHandler extends FieldHandlerFriend
An extended version of the FieldHandler interface which is used for adding additional functionality while preserving backward compatibility.- Version:
- $Revision: 8776 $ $Date: 2005-08-03 15:11:51 -0600 (Wed, 03 Aug 2005) $
- Author:
- Keith Visco
- See Also:
FieldDescriptor
,FieldHandler
-
-
Constructor Summary
Constructors Constructor Description ExtendedFieldHandler()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
checkValidity(java.lang.Object object)
Deprecated.No longer supportedabstract java.lang.Object
newInstance(java.lang.Object parent, java.lang.Object[] args)
Creates a new instance of the object described by this field.-
Methods inherited from class org.exolab.castor.mapping.loader.FieldHandlerFriend
getFieldDescriptor, getValue, newInstance, resetValue, setFieldDescriptor, setValue
-
-
-
-
Method Detail
-
checkValidity
public void checkValidity(java.lang.Object object) throws ValidityException, java.lang.IllegalStateException
Deprecated.No longer supported- Specified by:
checkValidity
in interfaceFieldHandler
- Specified by:
checkValidity
in classFieldHandlerFriend
- Throws:
ValidityException
java.lang.IllegalStateException
-
newInstance
public abstract java.lang.Object newInstance(java.lang.Object parent, java.lang.Object[] args) throws java.lang.IllegalStateException
Creates a new instance of the object described by this field.- Parameters:
parent
- The object for which the field is createdargs
- the set of constructor arguments- Returns:
- A new instance of the field's value
- Throws:
java.lang.IllegalStateException
- This field is a simple type and cannot be instantiated
-
-