| Package | Description |
|---|---|
| org.exolab.castor.mapping |
The Class Mapping API
|
| org.exolab.castor.mapping.loader |
Implementations for mapping interfaces and the default mapping loader.
|
| org.exolab.castor.mapping.xml.descriptors | |
| org.exolab.castor.mapping.xml.types.descriptors | |
| org.exolab.castor.types |
The Castor implementation of specific XML Schema Types
|
| org.exolab.castor.xml |
The XML Marshaller API
|
| org.exolab.castor.xml.descriptors | |
| org.exolab.castor.xml.util | |
| org.exolab.castor.xml.util.resolvers |
| Modifier and Type | Method and Description |
|---|---|
ClassDescriptor |
FieldDescriptor.getClassDescriptor()
Returns the class descriptor related to the field type.
|
ClassDescriptor |
FieldDescriptor.getContainingClassDescriptor()
Get the class descriptor which contains this field.
|
ClassDescriptor |
MappingLoader.getDescriptor(String classname)
Returns the ClassDescriptor for the class with the given name.
|
ClassDescriptor |
ClassDescriptor.getExtends()
Returns the class descriptor of the class extended by this class.
|
| Modifier and Type | Method and Description |
|---|---|
List<ClassDescriptor> |
MappingLoader.getDescriptors()
Returns a List of
ClassDescriptors of all known descriptors. |
| Modifier and Type | Method and Description |
|---|---|
void |
FieldDescriptor.setContainingClassDescriptor(ClassDescriptor parent)
Set the class descriptor which contains this field.
|
| Modifier and Type | Class and Description |
|---|---|
class |
ClassDescriptorImpl
The standard
ClassDescriptor implementation, holding general OO information about the
class described. |
| Modifier and Type | Method and Description |
|---|---|
protected abstract ClassDescriptor |
AbstractMappingLoader.createClassDescriptor(ClassMapping clsMap) |
ClassDescriptor |
FieldDescriptorImpl.getClassDescriptor() |
ClassDescriptor |
FieldDescriptorImpl.getContainingClassDescriptor() |
protected ClassDescriptor |
AbstractMappingLoader.getDepended(ClassMapping clsMap,
Class<?> javaClass)
Gets the ClassDescriptor the given
classMapping depends on. |
ClassDescriptor |
ClassDescriptorImpl.getDepends()
Returns the
ClassDescriptor of the class which this class depends upon. |
ClassDescriptor |
AbstractMappingLoader2.getDescriptor(String classname) |
protected ClassDescriptor |
AbstractMappingLoader.getExtended(ClassMapping clsMap,
Class<?> javaClass)
Gets the ClassDescriptor the given
classMapping extends. |
ClassDescriptor |
ClassDescriptorImpl.getExtends()
Returns the class descriptor of the class extended by this class.
|
| Modifier and Type | Method and Description |
|---|---|
List<ClassDescriptor> |
AbstractMappingLoader2.getDescriptors() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
AbstractMappingLoader2.addDescriptor(ClassDescriptor descriptor)
Adds a class descriptor.
|
static FieldDescriptor[] |
ClassDescriptorHelper.getFullFields(ClassDescriptor classDescriptor)
Get all the
FieldDescriptors for non-identity fields, including all the fields in base
classes. |
static FieldDescriptor[] |
ClassDescriptorHelper.getIdFields(ClassDescriptor classDescriptor)
Get the all the id fields of a class If the class, C, is a dependent class, then the depended
class', D, id fields will be appended at the back and returned.
|
protected abstract void |
AbstractMappingLoader.resolveRelations(ClassDescriptor clsDesc) |
void |
FieldDescriptorImpl.setClassDescriptor(ClassDescriptor classDescriptor)
Set the ClassDescriptor for the described field.
|
void |
FieldDescriptorImpl.setContainingClassDescriptor(ClassDescriptor parent) |
void |
ClassDescriptorImpl.setDepends(ClassDescriptor depends)
Sets the
ClassDescriptor of the class which this class depends upon. |
void |
ClassDescriptorImpl.setExtends(ClassDescriptor extend)
Sets the descriptor of the class which this class extends.
|
| Modifier and Type | Class and Description |
|---|---|
class |
BindXmlDescriptor
Class BindXmlDescriptor.
|
class |
CacheTypeMappingDescriptor
Class CacheTypeMappingDescriptor.
|
class |
ClassChoiceDescriptor
Class ClassChoiceDescriptor.
|
class |
ClassMappingDescriptor
Class ClassMappingDescriptor.
|
class |
ContainerDescriptor
Class ContainerDescriptor.
|
class |
FieldHandlerDefDescriptor
Class FieldHandlerDefDescriptor.
|
class |
FieldMappingDescriptor
Class FieldMappingDescriptor.
|
class |
IncludeDescriptor
Class IncludeDescriptor.
|
class |
KeyGeneratorDefDescriptor
Class KeyGeneratorDefDescriptor.
|
class |
LdapDescriptor
Class LdapDescriptor.
|
class |
MappingRootDescriptor
Class MappingRootDescriptor.
|
class |
MapToDescriptor
Class MapToDescriptor.
|
class |
NamedNativeQueryDescriptor
Class NamedNativeQueryDescriptor.
|
class |
NamedQueryDescriptor
Class NamedQueryDescriptor.
|
class |
ParamDescriptor
Class ParamDescriptor.
|
class |
PropertyDescriptor
Class PropertyDescriptor.
|
class |
PropertyTypeDescriptor
Class PropertyTypeDescriptor.
|
class |
QueryHintDescriptor
Class QueryHintDescriptor.
|
class |
SqlDescriptor
Class SqlDescriptor.
|
| Modifier and Type | Class and Description |
|---|---|
class |
BindXmlAutoNamingTypeDescriptor
Class BindXmlAutoNamingTypeDescriptor.
|
class |
BindXmlNodeTypeDescriptor
Class BindXmlNodeTypeDescriptor.
|
class |
ClassMappingAccessTypeDescriptor
Class ClassMappingAccessTypeDescriptor.
|
class |
FieldMappingCollectionTypeDescriptor
Class FieldMappingCollectionTypeDescriptor.
|
class |
SqlDirtyTypeDescriptor
Class SqlDirtyTypeDescriptor.
|
| Modifier and Type | Class and Description |
|---|---|
class |
BaseDescriptor
The Base Descriptor class, this class is extended by the descriptors for the custom Castor schema
types.
|
class |
CenturyDescriptor
Deprecated.
since Castor 1.0.6 since this type is not in any recommendation.
|
class |
DateDescriptor
The Date Descriptor.
|
class |
DateTimeDescriptor
The DateTime Descriptor.
|
class |
DurationDescriptor
The Duration Descriptor.
|
class |
GDayDescriptor
The GDay Descriptor.
|
class |
GMonthDayDescriptor
The gMonthDay Descriptor.
|
class |
GMonthDescriptor
The GMonth Descriptor.
|
class |
GYearDescriptor
The GYear Descriptor.
|
class |
GYearMonthDescriptor
The GYearMonth Descriptor.
|
class |
MonthDescriptor
Deprecated.
since Castor 1.0.6 since this type is not in any recommendation.
|
class |
RecurringDurationDescriptor
Deprecated.
since Castor 1.0.6 since this type is not in any recommendation.
|
class |
TimeDescriptor
The Time Descriptor.
|
class |
TimeDurationDescriptor
Deprecated.
since Castor 1.0.6 since this type is not in any recommendation.
|
class |
TimePeriodDescriptor
Deprecated.
since Castor 1.0.6 since this type is not in any recommendation.
|
class |
YearDescriptor
Deprecated.
since Castor 1.0.6 since this type is not in any recommendation.
|
| Modifier and Type | Method and Description |
|---|---|
ClassDescriptor |
BaseDescriptor.getExtends()
Returns the class descriptor of the class extended by this class.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
XMLClassDescriptor
A class descriptor for describing relationships between a Class and an XML element or
complexType.
|
| Modifier and Type | Method and Description |
|---|---|
protected ClassDescriptor |
XMLMappingLoader.createClassDescriptor(ClassMapping classMapping)
To create the class descriptor for the given class mapping.
|
ClassDescriptor |
ClassDescriptorResolver.resolve(Class<?> type)
Returns the ClassDescriptor for the given class.
|
| Modifier and Type | Method and Description |
|---|---|
Iterator<ClassDescriptor> |
XMLClassDescriptorResolver.resolveAllByXMLName(String xmlName,
String namespaceURI,
ClassLoader loader)
Returns an enumeration of XMLClassDescriptor objects that match the given xml name.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
XMLMappingLoader.resolveRelations(ClassDescriptor clsDesc) |
| Modifier and Type | Class and Description |
|---|---|
class |
DateClassDescriptor
A ClassDescriptor for java.util.Date.
|
class |
EnumerationDescriptor
The default class descriptor for Enumerations that are passed in as the root-level class, this is
really only useful for marshaling, as Enumerations are immutable.
|
class |
ListClassDescriptor
The default java.util.List class descriptor.
|
class |
LocaleDescriptor
A ClassDescriptor for java.util.Locale.
|
class |
PrimitivesClassDescriptor
The default primitives class descriptor, this is only used when unmarshaling a primitive as the
"root" object.
|
class |
RootArrayDescriptor
The default class descriptor for Arrays that are passed in as the root-level class.
|
class |
SQLDateClassDescriptor
A ClassDescriptor for java.sql.Date.
|
class |
SQLTimeClassDescriptor
A ClassDescriptor for java.sql.Time.
|
class |
SQLTimestampClassDescriptor
A ClassDescriptor for java.sql.Date.
|
class |
StringClassDescriptor
The default String class descriptor.
|
class |
VectorClassDescriptor
The default java.util.Vector class descriptor.
|
| Modifier and Type | Method and Description |
|---|---|
ClassDescriptor |
VectorClassDescriptor.getExtends()
Returns the class descriptor of the class extended by this class.
|
ClassDescriptor |
StringClassDescriptor.getExtends()
Returns the class descriptor of the class extended by this class.
|
ClassDescriptor |
SQLTimestampClassDescriptor.getExtends()
Returns the class descriptor of the class extended by this class.
|
ClassDescriptor |
SQLTimeClassDescriptor.getExtends()
Returns the class descriptor of the class extended by this class.
|
ClassDescriptor |
SQLDateClassDescriptor.getExtends()
Returns the class descriptor of the class extended by this class.
|
ClassDescriptor |
RootArrayDescriptor.getExtends()
Returns the class descriptor of the class extended by this class.
|
ClassDescriptor |
LocaleDescriptor.getExtends()
Returns the class descriptor of the class extended by this class.
|
ClassDescriptor |
ListClassDescriptor.getExtends()
Returns the class descriptor of the class extended by this class.
|
ClassDescriptor |
DateClassDescriptor.getExtends()
Returns the class descriptor of the class extended by this class.
|
| Modifier and Type | Class and Description |
|---|---|
class |
XMLClassDescriptorAdapter
An adapter class which can turn an ordinary ClassDescriptor into an XMLClassDescriptor.
|
class |
XMLClassDescriptorImpl
The core implementation of XMLClassDescriptor.
|
| Modifier and Type | Method and Description |
|---|---|
ClassDescriptor |
XMLClassDescriptorImpl.getExtends()
Returns the class descriptor of the class extended by this class.
|
ClassDescriptor |
XMLClassDescriptorResolverImpl.resolve(Class<?> type)
Returns the ClassDescriptor for the given class.
|
ClassDescriptor |
ResolverStrategy.resolveClass(ResolverStrategy.ResolverResults resolverResults,
String className)
Implementes a strategy how a class is resolved into a list of class descriptors.
|
| Modifier and Type | Method and Description |
|---|---|
Iterator<ClassDescriptor> |
XMLClassDescriptorResolverImpl.resolveAllByXMLName(String xmlName,
String namespaceURI,
ClassLoader loader)
Returns an enumeration of XMLClassDescriptor objects that match the given xml name.
|
| Constructor and Description |
|---|
XMLClassDescriptorAdapter(ClassDescriptor classDesc,
String xmlName)
Creates a new XMLClassDescriptorAdapter using the given ClassDescriptor.
|
XMLClassDescriptorAdapter(ClassDescriptor classDesc,
String xmlName,
NodeType primitiveNodeType)
Creates a new XMLClassDescriptorAdapter using the given ClassDescriptor.
|
| Modifier and Type | Method and Description |
|---|---|
ClassDescriptor |
CastorXMLStrategy.resolveClass(ResolverStrategy.ResolverResults resolverResults,
String className)
Implementes a strategy how a class is resolved into a list of class descriptors.
|
| Modifier and Type | Method and Description |
|---|---|
protected Map<String,ClassDescriptor> |
ByPackageMapping.internalResolve(String packageName,
ClassLoader classLoader,
Map properties)
The required parameter checks are in the public method and here we expect that the resolve
logic itself is implemented.
|
protected Map<String,ClassDescriptor> |
ByCDR.internalResolve(String packageName,
ClassLoader classLoader,
Map properties)
Tries to load the CDR file for the given package name using the provided class loader.
|
protected abstract Map<String,ClassDescriptor> |
AbstractResolverPackageCommand.internalResolve(String packageName,
ClassLoader classLoader,
Map props)
The required parameter checks are in the public method and here we expect that the resolve
logic itself is implemented.
|
Map<String,ClassDescriptor> |
AbstractResolverPackageCommand.resolve(String packageName,
Map properties)
The one and only purpose resolver commands are good for ;-) .
|
Copyright © 2016. All rights reserved.