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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ExtendedFieldHandler
public ExtendedFieldHandler()
checkValidity
public void checkValidity(Object object)
throws ValidityException,
IllegalStateException
- Deprecated. No longer supported
- Specified by:
checkValidity in interface FieldHandler- Specified by:
checkValidity in class FieldHandlerFriend
- Throws:
ValidityException
IllegalStateException
newInstance
public abstract Object newInstance(Object parent,
Object[] args)
throws 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:
IllegalStateException - This field is a simple type and cannot be instantiated
Copyright © 2011. All Rights Reserved.