Package | Description |
---|---|
org.exolab.castor.mapping |
The Class Mapping API
|
org.exolab.castor.mapping.handlers | |
org.exolab.castor.mapping.loader |
Implementations for mapping interfaces and the default mapping loader.
|
org.exolab.castor.xml |
The XML Marshaller API
|
org.exolab.castor.xml.handlers |
Modifier and Type | Interface and Description |
---|---|
interface |
ClonableFieldHandler<T>
Deprecated.
Use
ClonableFieldHandlerMarker instead. |
interface |
ConfigurableFieldHandler<T>
A
FieldHandler that can be configured with any kind of data. |
Modifier and Type | Class and Description |
---|---|
class |
AbstractFieldHandler<T>
An extended version of the FieldHandler interface which is used for adding
additional functionality while preserving backward compatability.
|
class |
ExtendedFieldHandler<T>
An extended version of the FieldHandler interface which is used for adding
additional functionality while preserving backward compatibility.
|
class |
GeneralizedFieldHandler
An extended version of the FieldHandler interface which is
used for making generic libraries of FieldHandlers which
can be used for more than one field or class, but have
similar conversion algorithms.
|
Modifier and Type | Method and Description |
---|---|
FieldHandler |
ClonableFieldHandlerMarker.copyFieldHandler()
Entry point for shallow/deep 'cloning' of
FieldHandler instances. |
FieldHandler<T> |
ClonableFieldHandler.copyInstance()
Deprecated.
Entry point for shallow/deep 'cloning' of
FieldHandler instances. |
FieldHandler |
FieldDescriptor.getHandler()
Returns the handler of the field.
|
Modifier and Type | Method and Description |
---|---|
void |
GeneralizedFieldHandler.setFieldHandler(FieldHandler handler)
Sets the FieldHandler that this FieldHander delegates to.
|
Modifier and Type | Class and Description |
---|---|
class |
EnumFieldHandler
A specialized FieldHandler for the type-safe enum
style classes.
|
class |
TransientFieldHandler<T>
A dummy FieldHandler for "transient" fields.
|
Constructor and Description |
---|
EnumFieldHandler(Class enumType,
FieldHandler handler,
Method createMethod)
Creates a new EnumFieldHandler with the given type and
FieldHandler
|
Modifier and Type | Class and Description |
---|---|
class |
FieldHandlerFriend<T>
An extended version of the FieldHandler interface which is used for adding
additional functionality while preserving backward compatability.
|
class |
FieldHandlerImpl<T>
A field handler that knows how to get/set the values of a field directly or
through the get/set methods.
|
Modifier and Type | Method and Description |
---|---|
protected FieldHandler |
AbstractMappingLoader.createFieldHandler(Class<?> javaClass,
Class<?> fldType,
FieldMapping fldMap,
AbstractMappingLoader.TypeInfoReference typeInfoRef)
Creates the FieldHandler for the given FieldMapping.
|
FieldHandler |
FieldDescriptorImpl.getHandler() |
Modifier and Type | Method and Description |
---|---|
void |
FieldDescriptorImpl.setHandler(FieldHandler handler)
Set the FieldHandler for the field being described by this FieldDescriptor.
|
Constructor and Description |
---|
FieldDescriptorImpl(String fieldName,
TypeInfo typeInfo,
FieldHandler handler,
boolean isTransitive)
Constructs a new field descriptor.
|
FieldHandlerImpl(FieldHandler<T> handler,
TypeInfo typeInfo)
Construct a new field handler for the specified field.
|
Modifier and Type | Class and Description |
---|---|
class |
XMLFieldHandler<T>
This FieldHandler is used in the generated descriptors.
|
Modifier and Type | Class and Description |
---|---|
class |
CollectionFieldHandler
A FieldHandler for the XML Schema Collection type.
|
class |
ContainerFieldHandler
The FieldHandler for ContainerElement.
|
class |
DateFieldHandler
A specialized FieldHandler for the XML Schema Date/Time related types.
|
class |
SQLTimeFieldHandler
An implementation of GeneralizedFieldHandler for java.sql.Time.
|
class |
SQLTimestampFieldHandler
An implementation of GeneralizedFieldHandler for java.sql.Timestamp.
|
class |
ToStringFieldHandler
An implementation of GeneralizedFieldHandler that simply calls
Object#toString() in the conversion methods.
|
class |
ValueOfFieldHandler
An implementation of GeneralizedFieldHandler for classes that have a built-in
valueOf(String) factory method, such as type-safe enumeration classes,
java.sql.Timestamp, etc.
|
Constructor and Description |
---|
CollectionFieldHandler(FieldHandler fieldHandler)
Creates a new CollectionFieldHandler using the given FieldHandler for
delegation.
|
CollectionFieldHandler(FieldHandler fieldHandler,
TypeValidator validator)
Creates a new CollectionFieldHandler using the given FieldHandler for
delegation and the given type validator for validation.
|
ContainerFieldHandler(FieldHandler handler)
Creates a new ContainerFieldHandler with the given FieldHandler.
|
DateFieldHandler(FieldHandler fieldHandler)
Creates a new DateFieldHandler using the given FieldHandler for
delegation.
|
EnumFieldHandler(Class enumType,
FieldHandler handler)
Creates a new EnumFieldHandler with the given type and FieldHandler.
|
ToStringFieldHandler(Class type,
FieldHandler handler)
Creates a new ToStringFieldHandler.
|
Copyright © 2014. All rights reserved.