Package | Description |
---|---|
org.castor.xml | |
org.exolab.castor.xml |
The XML Marshaller API
|
org.exolab.castor.xml.util | |
org.exolab.castor.xml.util.resolvers |
Modifier and Type | Method and Description |
---|---|
void |
InternalContext.addClass(Class clazz)
Loads the class descriptor for the class instance specified.
|
void |
AbstractInternalContext.addClass(Class clazz) |
void |
InternalContext.addClasses(Class[] clazzes)
Loads the class descriptor for the class instance specified.
|
void |
AbstractInternalContext.addClasses(Class[] clazzes) |
void |
InternalContext.addPackage(String packageName)
Loads class descriptors from the package specified.
|
void |
AbstractInternalContext.addPackage(String packageName) |
void |
InternalContext.addPackages(String[] packageNames)
Loads class descriptors from the packages specified.
|
void |
AbstractInternalContext.addPackages(String[] packageNames) |
Modifier and Type | Method and Description |
---|---|
void |
XMLContext.addClass(Class clazz)
Loads the class descriptor for the class instance specified.
|
void |
XMLClassDescriptorResolver.addClass(Class<?> clazz)
Loads the class descriptor for the class instance specified.
|
void |
XMLClassDescriptorResolver.addClass(String className)
Loads the class descriptor for the class instance specified.
|
void |
XMLContext.addClasses(Class[] clazzes)
Loads the class descriptor for the class instance specified.
|
void |
XMLClassDescriptorResolver.addClasses(Class<?>[] clazzes)
Loads the class descriptors for the class instances specified.
|
void |
XMLClassDescriptorResolver.addClasses(String[] classNames)
Loads the class descriptors for the class instances specified.
|
void |
XMLContext.addPackage(String packageName)
Loads class descriptors from the package specified.
|
void |
XMLClassDescriptorResolver.addPackage(String packageName)
Loads class descriptors from the package specified.
|
void |
XMLContext.addPackages(String[] packageNames)
Loads class descriptors from the packages specified.
|
void |
XMLClassDescriptorResolver.addPackages(String[] packageNames)
Loads class descriptors from the packages specified.
|
void |
XMLClassDescriptorResolver.loadClassDescriptors(String packageName)
Deprecated.
Please use e.g. #addPackage(String) instead.
|
ClassDescriptor |
ClassDescriptorResolver.resolve(Class<?> type)
Returns the ClassDescriptor for the given class.
|
XMLClassDescriptor |
XMLClassDescriptorResolver.resolve(String className)
Returns the XMLClassDescriptor for the given class name.
|
XMLClassDescriptor |
XMLClassDescriptorResolver.resolve(String className,
ClassLoader loader)
Returns the XMLClassDescriptor for the given class name.
|
Iterator<ClassDescriptor> |
XMLClassDescriptorResolver.resolveAllByXMLName(String xmlName,
String namespaceURI,
ClassLoader loader)
Returns an enumeration of XMLClassDescriptor objects that match the given
xml name.
|
XMLClassDescriptor |
XMLClassDescriptorResolver.resolveByXMLName(String xmlName,
String namespaceURI,
ClassLoader loader)
Returns the first XMLClassDescriptor that matches the given XML name and
namespaceURI.
|
Modifier and Type | Method and Description |
---|---|
void |
XMLClassDescriptorResolverImpl.addClass(Class<?> clazz)
Loads the class descriptor for the class instance specified.
|
void |
XMLClassDescriptorResolverImpl.addClass(String className)
Loads the class descriptor for the class instance specified.
|
void |
XMLClassDescriptorResolverImpl.addClasses(Class<?>[] clazzes)
Loads the class descriptors for the class instances specified.
|
void |
XMLClassDescriptorResolverImpl.addClasses(String[] classNames)
Loads the class descriptors for the class instances specified.
|
void |
XMLClassDescriptorResolverImpl.addPackage(String packageName)
Loads class descriptors from the package specified.
|
void |
XMLClassDescriptorResolverImpl.addPackages(String[] packageNames)
Loads class descriptors from the packages specified.
|
void |
XMLClassDescriptorResolverImpl.loadClassDescriptors(String packageName)
Deprecated.
|
ClassDescriptor |
XMLClassDescriptorResolverImpl.resolve(Class<?> type)
Returns the ClassDescriptor for the given class.
|
XMLClassDescriptor |
XMLClassDescriptorResolverImpl.resolve(String className)
Returns the XMLClassDescriptor for the given class name.
|
XMLClassDescriptor |
XMLClassDescriptorResolverImpl.resolve(String className,
ClassLoader loader)
Returns the XMLClassDescriptor for the given class name.
|
Map |
ResolverPackageCommand.resolve(String packageName,
Map p)
The one and only purpose resolver commands are good for ;-) .
|
Map |
ResolverClassCommand.resolve(String className,
Map p)
The one and only purpose resolver commands are good for ;-) .
|
ClassDescriptor |
ResolverStrategy.resolveClass(ResolverStrategy.ResolverResults resolverResults,
String className)
Implementes a strategy how a class is resolved into a list of class descriptors.
|
void |
ResolverStrategy.resolvePackage(ResolverStrategy.ResolverResults resolverResults,
String packageName)
Implementes a strategy how a package 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> |
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 Map |
ByDescriptorClass.internalResolve(String className,
ClassLoader classLoader,
Map properties)
Tries to load an XMLClassDescriptor directly from an existing .class file.
|
protected Map |
ByIntrospection.internalResolve(String className,
ClassLoader classLoader,
Map properties)
Creates an XMLClassDescriptor for the given type by using introspection.
|
protected abstract Map |
AbstractResolverClassCommand.internalResolve(String className,
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 |
ByMappingLoader.internalResolve(String className,
ClassLoader classLoader,
Map properties)
If a mapping loader is set in the configuration the descriptor for the given
class / className is taken from the mapping loader and put into the cache.
|
Map<String,ClassDescriptor> |
AbstractResolverPackageCommand.resolve(String packageName,
Map properties)
The one and only purpose resolver commands are good for ;-) .
|
Map |
AbstractResolverClassCommand.resolve(String className,
Map properties)
The one and only purpose resolver commands are good for ;-) .
|
ClassDescriptor |
CastorXMLStrategy.resolveClass(ResolverStrategy.ResolverResults resolverResults,
String className)
Implementes a strategy how a class is resolved into a list of class descriptors.
|
void |
CastorXMLStrategy.resolvePackage(ResolverStrategy.ResolverResults resolverResults,
String packageName)
Implementes a strategy how a package is resolved into a list of class descriptors.
|
Copyright © 2014. All rights reserved.