|
|||||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||||
| Packages that use MappingException | |
| org.castor.mapping | |
| org.castor.xml | |
| org.exolab.castor.mapping | The Class Mapping API Version: $Revision: 6216 $ $Date: 2003-03-03 00:05:44 -0700 (Mon, 03 Mar 2003) $ Author: Assaf Arkin Author: Keith Visco This package provides a common base for the class mapping descriptors and tools to generate mapping descriptors from a mapping file. |
| org.exolab.castor.mapping.loader | Implementations for mapping interfaces and the default mapping loader. |
| org.exolab.castor.tools | Command line tools Version: $Revision: 5951 $ $Date: 2003-03-03 00:05:44 -0700 (Mon, 03 Mar 2003) $ Author: Assaf Arkin Author: Keith Visco |
| org.exolab.castor.xml | The XML Marshaller API
Version: $Revision: 6213 $ $Date: 2003-03-03 00:05:44 -0700 (Mon, 03 Mar 2003) $
Author: Keith Visco
Marshaller marshalls a Java object into an XML document.
|
| org.exolab.castor.xml.handlers | |
| org.exolab.castor.xml.util | |
| Uses of MappingException in org.castor.mapping |
| Methods in org.castor.mapping that throw MappingException | |
MappingLoader |
AbstractMappingLoaderFactory.getMappingLoader()
|
MappingLoader |
MappingLoaderFactory.getMappingLoader()
Acquires the appropriate org.exolab.castor.mapping.MappingLoader with the given properties. |
MappingLoader |
MappingLoaderRegistry.getMappingLoader(java.lang.String sourceType,
BindingType bindingType)
Returns a mapping loader for the suitable source and binding type. |
MappingLoader |
MappingUnmarshaller.getMappingLoader(Mapping mapping,
BindingType bindingType)
Returns a mapping resolver for the suitable engine. |
MappingLoader |
MappingUnmarshaller.getMappingLoader(Mapping mapping,
BindingType bindingType,
java.lang.Object param)
Returns a mapping resolver for the suitable engine. |
void |
MappingUnmarshaller.loadMappingOnly(Mapping mapping)
|
protected void |
MappingUnmarshaller.loadMappingInternal(Mapping mapping,
DTDResolver resolver,
java.lang.String url)
Internal recursive loading method. |
| Uses of MappingException in org.castor.xml |
| Methods in org.castor.xml that throw MappingException | |
void |
AbstractInternalContext.addMapping(Mapping mapping)
|
void |
InternalContext.addMapping(Mapping mapping)
Instructs Castor to load class descriptors from the mapping given. |
| Uses of MappingException in org.exolab.castor.mapping |
| Methods in org.exolab.castor.mapping that throw MappingException | |
abstract GeneralizedFieldHandler |
FieldHandlerFactory.createFieldHandler(java.lang.Class type)
Creates a GeneralizedFieldHandler for the given class type. |
java.util.List |
Mapping.getMappingSources()
Get list of mapping sources to resolve. |
void |
Mapping.loadMapping(java.lang.String url)
Loads the mapping from the specified URL with type defaults to 'CastorXmlMapping'. |
void |
Mapping.loadMapping(java.lang.String url,
java.lang.String type)
Loads the mapping from the specified URL. |
void |
Mapping.loadMapping(java.net.URL url)
Loads the mapping from the specified URL with type defaults to 'CastorXmlMapping'. |
void |
Mapping.loadMapping(java.net.URL url,
java.lang.String type)
Loads the mapping from the specified URL. |
| Uses of MappingException in org.exolab.castor.mapping.loader |
| Methods in org.exolab.castor.mapping.loader that throw MappingException | |
abstract void |
AbstractMappingLoader.loadMapping(MappingRoot mapping,
java.lang.Object param)
Loads the mapping from the specified mapping object if not loaded previously. |
protected void |
AbstractMappingLoader.createFieldHandlers(MappingRoot mapping)
Load field handler definitions, check for duplicate definitions and instantiate the appropriate FieldHandler implementations. |
protected void |
AbstractMappingLoader.createClassDescriptors(MappingRoot mapping)
|
protected abstract ClassDescriptor |
AbstractMappingLoader.createClassDescriptor(ClassMapping clsMap)
|
protected ClassDescriptor |
AbstractMappingLoader.getExtended(ClassMapping clsMap,
java.lang.Class javaClass)
Gets the ClassDescriptor the given classMapping extends. |
protected ClassDescriptor |
AbstractMappingLoader.getDepended(ClassMapping clsMap,
java.lang.Class javaClass)
Gets the ClassDescriptor the given classMapping depends
on. |
protected void |
AbstractMappingLoader.checkFieldNameDuplicates(FieldDescriptor[] fields,
java.lang.Class cls)
Checks all given fields for name equality and throws a MappingException if at least two fields have the same name. |
protected java.lang.Class |
AbstractMappingLoader.resolveType(java.lang.String typeName)
Returns the Java class for the named type. |
protected AbstractFieldDescriptor[] |
AbstractMappingLoader.createFieldDescriptors(ClassMapping clsMap,
java.lang.Class javaClass)
Create field descriptors. |
protected AbstractFieldDescriptor |
AbstractMappingLoader.createFieldDesc(java.lang.Class javaClass,
FieldMapping fieldMap)
Creates a single field descriptor. |
protected FieldHandler |
AbstractMappingLoader.createFieldHandler(java.lang.Class javaClass,
java.lang.Class fldType,
FieldMapping fldMap,
AbstractMappingLoader.TypeInfoReference typeInfoRef)
Creates the FieldHandler for the given FieldMapping. |
protected TypeInfo |
AbstractMappingLoader.getTypeInfo(java.lang.Class fieldType,
CollectionHandler colHandler,
FieldMapping fieldMap)
|
static java.lang.reflect.Method |
AbstractMappingLoader.findAccessor(java.lang.Class javaClass,
java.lang.String methodName,
java.lang.Class fieldType,
boolean getMethod)
Returns the named accessor. |
protected void |
AbstractMappingLoader2.addDescriptor(ClassDescriptor descriptor)
Adds a class descriptor. |
static java.lang.Class |
CollectionHandlers.getCollectionType(java.lang.String name)
Returns the collection's Java class from the collection name. |
static CollectionHandler |
CollectionHandlers.getHandler(java.lang.Class javaClass)
Returns the collection's handler based on the Java class. |
static boolean |
CollectionHandlers.isGetSetCollection(java.lang.Class javaClass)
Returns true if the collection requires get/set methods. |
void |
FieldHandlerImpl.setCreateMethod(java.lang.reflect.Method method)
Mutator method used by AbstractMappingLoader and
Introspector.
|
void |
FieldHandlerImpl.setHasDeleteMethod(java.lang.reflect.Method hasMethod,
java.lang.reflect.Method deleteMethod)
Mutator method used by AbstractMappingLoader and
Introspector.
|
void |
FieldHandlerImpl.setReadMethod(java.lang.reflect.Method method)
Mutator method used by Introspector.
|
void |
FieldHandlerImpl.setWriteMethod(java.lang.reflect.Method method)
Mutator method used by Introspector.
|
void |
FieldHandlerImpl.setAddMethod(java.lang.reflect.Method method)
Mutator method used by Introspector.
|
void |
FieldHandlerImpl.setEnumMethod(java.lang.reflect.Method method)
Sets the enumeration method. |
void |
FieldHandlerImpl.setIterMethod(java.lang.reflect.Method method)
Sets the iteration method. |
| Constructors in org.exolab.castor.mapping.loader that throw MappingException | |
FieldHandlerImpl(java.lang.reflect.Field field,
TypeInfo typeInfo)
Construct a new field handler for the specified field. |
|
FieldHandlerImpl(java.lang.String fieldName,
java.lang.reflect.Method[] getSequence,
java.lang.reflect.Method[] setSequence,
java.lang.reflect.Method getMethod,
java.lang.reflect.Method setMethod,
TypeInfo typeInfo)
Construct a new field handler for the specified field that is accessed through the accessor methods (get/set). |
|
| Uses of MappingException in org.exolab.castor.tools |
| Methods in org.exolab.castor.tools that throw MappingException | |
void |
MappingTool.addClass(java.lang.String name)
Adds the Class, specified by the given name, to the mapping file. |
void |
MappingTool.addClass(java.lang.String name,
boolean deep)
Adds the Class, specified by the given name, to the mapping file. |
void |
MappingTool.addClass(java.lang.Class cls)
Adds the given Class to the mapping file. |
void |
MappingTool.addClass(java.lang.Class cls,
boolean deep)
Adds the given Class to the mapping file. |
void |
MappingTool.write(java.io.Writer writer)
Serializes the mapping to the given writer. |
| Uses of MappingException in org.exolab.castor.xml |
| Methods in org.exolab.castor.xml that throw MappingException | |
void |
Marshaller.setMapping(Mapping mapping)
Sets the given mapping to be used by the marshalling Framework. |
void |
Unmarshaller.setMapping(Mapping mapping)
Sets the Mapping to use during unmarshalling. |
void |
XMLContext.addMapping(Mapping mapping)
Instructs Castor to load class descriptors from the mapping given. |
void |
XMLMappingLoader.loadMapping(MappingRoot mapping,
java.lang.Object param)
Loads the mapping from the specified mapping object if not loaded previously. |
protected ClassDescriptor |
XMLMappingLoader.createClassDescriptor(ClassMapping clsMap)
To create the class descriptor for the given class mapping. |
protected AbstractFieldDescriptor |
XMLMappingLoader.createFieldDesc(java.lang.Class javaClass,
FieldMapping fieldMap)
|
protected TypeInfo |
XMLMappingLoader.getTypeInfo(java.lang.Class fieldType,
CollectionHandler colHandler,
FieldMapping fieldMap)
|
| Constructors in org.exolab.castor.xml that throw MappingException | |
Unmarshaller(Mapping mapping)
Creates a new Unmarshaller with the given Mapping. |
|
Unmarshaller(InternalContext internalContext,
Mapping mapping)
Creates a new Unmarshaller with the given Mapping. |
|
| Uses of MappingException in org.exolab.castor.xml.handlers |
| Methods in org.exolab.castor.xml.handlers that throw MappingException | |
GeneralizedFieldHandler |
DefaultFieldHandlerFactory.createFieldHandler(java.lang.Class type)
Creates a GeneralizedFieldHandler for the given class type. |
| Constructors in org.exolab.castor.xml.handlers that throw MappingException | |
ValueOfFieldHandler(java.lang.Class type)
Creates a new ValueOfFieldHandler. |
|
| Uses of MappingException in org.exolab.castor.xml.util |
| Constructors in org.exolab.castor.xml.util that throw MappingException | |
XMLClassDescriptorAdapter(ClassDescriptor classDesc,
java.lang.String xmlName)
Creates a new XMLClassDescriptorAdapter using the given ClassDescriptor. |
|
XMLClassDescriptorAdapter(ClassDescriptor classDesc,
java.lang.String xmlName,
NodeType primitiveNodeType)
Creates a new XMLClassDescriptorAdapter using the given ClassDescriptor. |
|
XMLContainerElementFieldDescriptor(XMLFieldDescriptorImpl fieldDesc,
NodeType primitiveNodeType)
|
|
XMLFieldDescriptorImpl(FieldDescriptor fieldDesc,
java.lang.String xmlName,
NodeType nodeType,
NodeType primitiveNodeType)
Construct a new field descriptor for the specified field. |
|
|
|||||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||||