Package | Description |
---|---|
org.exolab.castor.builder.binding.xml.descriptors | |
org.exolab.castor.builder.binding.xml.types.descriptors | |
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.schema.annotations.jdo.descriptors | |
org.exolab.castor.xml.schema.annotations.solrj.descriptors | |
org.exolab.castor.xml.util | |
org.exolab.castor.xml.util.resolvers | |
types.descriptors |
Modifier and Type | Class and Description |
---|---|
class |
AutomaticNamingTypeDescriptor |
class |
BindingDescriptor |
class |
ClassTypeDescriptor |
class |
ComponentBindingTypeChoiceDescriptor |
class |
ComponentBindingTypeDescriptor |
class |
ContentMemberTypeDescriptor |
class |
EnumBindingTypeDescriptor |
class |
EnumClassNameDescriptor |
class |
EnumMemberDescriptor |
class |
ExcludeDescriptor |
class |
ExcludesDescriptor |
class |
FieldTypeDescriptor |
class |
ForcesDescriptor |
class |
IncludeTypeDescriptor |
class |
InterfaceDescriptor |
class |
NamingTypeDescriptor |
class |
NamingXMLTypeDescriptor |
class |
PackageTypeChoiceDescriptor |
class |
PackageTypeDescriptor |
Modifier and Type | Class and Description |
---|---|
class |
BindingTypeDescriptor |
class |
FieldTypeCollectionTypeDescriptor |
class |
FieldTypeVisibilityTypeDescriptor |
class |
VisibilityTypeDescriptor |
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
ClassDescriptor s 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.
Engines will use Nature s to augment this class with engine-specific knowledge
and functionality, using ClassDescriptorImpl.addNature(String) to register these views
with this class.
Once a Nature has been registered with this ClassDescriptor , the nature
can be applied to the ClassDescriptor and nature-specific properties
can be accessed in a type-safe way. |
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
FieldDescriptor s 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 |
CacheTypeMappingDescriptor |
class |
ClassChoiceDescriptor |
class |
ClassMappingDescriptor |
class |
ContainerDescriptor |
class |
FieldHandlerDefDescriptor |
class |
FieldMappingDescriptor |
class |
IncludeDescriptor |
class |
KeyGeneratorDefDescriptor |
class |
LdapDescriptor |
class |
MappingRootDescriptor |
class |
MapToDescriptor |
class |
NamedNativeQueryDescriptor |
class |
NamedQueryDescriptor |
class |
ParamDescriptor |
class |
PropertyDescriptor |
class |
PropertyTypeDescriptor |
class |
QueryHintDescriptor |
class |
SqlDescriptor |
Modifier and Type | Class and Description |
---|---|
class |
BindXmlAutoNamingTypeDescriptor |
class |
BindXmlNodeTypeDescriptor |
class |
ClassMappingAccessTypeDescriptor |
class |
FieldMappingCollectionTypeDescriptor |
class |
SqlDirtyTypeDescriptor |
Modifier and Type | Class and Description |
---|---|
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 |
BaseDescriptor |
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 |
StringClassDescriptor.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 |
VectorClassDescriptor.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 |
SQLDateClassDescriptor.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.
|
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.
|
Modifier and Type | Class and Description |
---|---|
class |
ColumnDescriptor |
class |
ManyToManyDescriptor |
class |
OneToManyDescriptor |
class |
OneToOneDescriptor |
class |
PkTypeDescriptor |
class |
PrimaryKeyDescriptor |
class |
ReadonlyDirtyTypeDescriptor |
class |
TableDescriptor |
Modifier and Type | Class and Description |
---|---|
class |
FieldDescriptor |
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 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.
|
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.
|
Map<String,ClassDescriptor> |
AbstractResolverPackageCommand.resolve(String packageName,
Map properties)
The one and only purpose resolver commands are good for ;-) .
|
Modifier and Type | Class and Description |
---|---|
class |
TableAccessModeTypeDescriptor |
Copyright © 2024. All rights reserved.