|
||||||||||
| 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 |
MappingLoaderFactory.getMappingLoader()
Acquires the appropriate org.exolab.castor.mapping.MappingLoader with the given properties. |
MappingLoader |
AbstractMappingLoaderFactory.getMappingLoader()
|
MappingLoader |
MappingUnmarshaller.getMappingLoader(Mapping mapping,
BindingType bindingType)
Returns a mapping resolver for the suitable engine. |
MappingLoader |
MappingUnmarshaller.getMappingLoader(Mapping mapping,
BindingType bindingType,
Object param)
Returns a mapping resolver for the suitable engine. |
MappingLoader |
MappingLoaderRegistry.getMappingLoader(String sourceType,
BindingType bindingType)
Returns a mapping loader for the suitable source and binding type. |
protected void |
MappingUnmarshaller.loadMappingInternal(Mapping mapping,
DTDResolver resolver,
String url)
Internal recursive loading method. |
void |
MappingUnmarshaller.loadMappingOnly(Mapping mapping)
|
| Uses of MappingException in org.castor.xml |
|---|
| Methods in org.castor.xml that throw MappingException | |
|---|---|
void |
InternalContext.addMapping(Mapping mapping)
Instructs Castor to load class descriptors from the mapping given. |
void |
AbstractInternalContext.addMapping(Mapping mapping)
|
| Uses of MappingException in org.exolab.castor.mapping |
|---|
| Methods in org.exolab.castor.mapping that throw MappingException | |
|---|---|
abstract GeneralizedFieldHandler |
FieldHandlerFactory.createFieldHandler(Class type)
Creates a GeneralizedFieldHandler for the given class type. |
List |
Mapping.getMappingSources()
Get list of mapping sources to resolve. |
void |
Mapping.loadMapping(String url)
Loads the mapping from the specified URL with type defaults to 'CastorXmlMapping'. |
void |
Mapping.loadMapping(String url,
String type)
Loads the mapping from the specified URL. |
void |
Mapping.loadMapping(URL url)
Loads the mapping from the specified URL with type defaults to 'CastorXmlMapping'. |
void |
Mapping.loadMapping(URL url,
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 | |
|---|---|
protected void |
AbstractMappingLoader2.addDescriptor(ClassDescriptor descriptor)
Adds a class descriptor. |
protected void |
AbstractMappingLoader.checkFieldNameDuplicates(FieldDescriptor[] fields,
Class<?> cls)
Checks all given fields for name equality and throws a MappingException if at least two fields have the same name. |
protected abstract ClassDescriptor |
AbstractMappingLoader.createClassDescriptor(ClassMapping clsMap)
|
protected void |
AbstractMappingLoader.createClassDescriptors(MappingRoot mapping)
|
protected FieldDescriptorImpl |
AbstractMappingLoader.createFieldDesc(Class<?> javaClass,
FieldMapping fieldMap)
Creates a single field descriptor. |
protected FieldDescriptorImpl[] |
AbstractMappingLoader.createFieldDescriptors(ClassMapping clsMap,
Class<?> javaClass)
Create field descriptors. |
protected FieldHandler |
AbstractMappingLoader.createFieldHandler(Class<?> javaClass,
Class<?> fldType,
FieldMapping fldMap,
AbstractMappingLoader.TypeInfoReference typeInfoRef)
Creates the FieldHandler for the given FieldMapping. |
protected void |
AbstractMappingLoader.createFieldHandlers(MappingRoot mapping)
Load field handler definitions, check for duplicate definitions and instantiate the appropriate FieldHandler implementations. |
static Method |
AbstractMappingLoader.findAccessor(Class<?> javaClass,
String methodName,
Class<?> fieldType,
boolean getMethod)
Returns the named accessor. |
static Class<?> |
CollectionHandlers.getCollectionType(String name)
Returns the collection's Java class from the collection name. |
protected ClassDescriptor |
AbstractMappingLoader.getDepended(ClassMapping clsMap,
Class<?> javaClass)
Gets the ClassDescriptor the given classMapping depends
on. |
protected ClassDescriptor |
AbstractMappingLoader.getExtended(ClassMapping clsMap,
Class<?> javaClass)
Gets the ClassDescriptor the given classMapping extends. |
static FieldDescriptor[] |
ClassDescriptorHelper.getFullFields(ClassDescriptor classDescriptor)
Get all the FieldDescriptors for non-identity fields, including
all the fields in base classes. |
static CollectionHandler |
CollectionHandlers.getHandler(Class<?> javaClass)
Returns the collection's handler based on the Java class. |
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 TypeInfo |
AbstractMappingLoader.getTypeInfo(Class fieldType,
CollectionHandler colHandler,
FieldMapping fieldMap)
|
static boolean |
CollectionHandlers.isGetSetCollection(Class<?> javaClass)
Returns true if the collection requires get/set methods. |
abstract void |
AbstractMappingLoader.loadMapping(MappingRoot mapping,
Object param)
Loads the mapping from the specified mapping object if not loaded previously. |
protected Class<?> |
AbstractMappingLoader.resolveType(String typeName)
Returns the Java class for the named type. |
void |
FieldHandlerImpl.setAddMethod(Method method)
Mutator method used by Introspector. |
void |
FieldHandlerImpl.setCreateMethod(Method method)
Mutator method used by AbstractMappingLoader and
Introspector. |
void |
FieldHandlerImpl.setEnumMethod(Method method)
Sets the enumeration method. |
void |
FieldHandlerImpl.setHasDeleteMethod(Method hasMethod,
Method deleteMethod)
Mutator method used by AbstractMappingLoader and
Introspector. |
void |
FieldHandlerImpl.setIterMethod(Method method)
Sets the iteration method. |
void |
FieldHandlerImpl.setReadMethod(Method method)
Mutator method used by Introspector. |
void |
FieldHandlerImpl.setWriteMethod(Method method)
Mutator method used by Introspector. |
| Constructors in org.exolab.castor.mapping.loader that throw MappingException | |
|---|---|
FieldHandlerImpl(Field field,
TypeInfo typeInfo)
Construct a new field handler for the specified field. |
|
FieldHandlerImpl(String fieldName,
Method[] getSequence,
Method[] setSequence,
Method getMethod,
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(Class cls)
Adds the given Class to the mapping file. |
void |
MappingTool.addClass(Class cls,
boolean deep)
Adds the given Class to the mapping file. |
void |
MappingTool.addClass(String name)
Adds the Class, specified by the given name, to the mapping file. |
void |
MappingTool.addClass(String name,
boolean deep)
Adds the Class, specified by the given name, to the mapping file. |
void |
MappingTool.write(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 |
XMLContext.addMapping(Mapping mapping)
Instructs Castor to load class descriptors from the mapping given. |
protected ClassDescriptor |
XMLMappingLoader.createClassDescriptor(ClassMapping classMapping)
To create the class descriptor for the given class mapping. |
protected FieldDescriptorImpl |
XMLMappingLoader.createFieldDesc(Class javaClass,
FieldMapping fieldMap)
|
protected TypeInfo |
XMLMappingLoader.getTypeInfo(Class fieldType,
CollectionHandler colHandler,
FieldMapping fieldMap)
|
void |
XMLMappingLoader.loadMapping(MappingRoot mapping,
Object param)
Loads the mapping from the specified mapping object if not loaded previously. |
void |
Unmarshaller.setMapping(Mapping mapping)
Sets the Mapping to use during unmarshalling. |
void |
Marshaller.setMapping(Mapping mapping)
Sets the given mapping to be used by the marshalling Framework. |
| Constructors in org.exolab.castor.xml that throw MappingException | |
|---|---|
Unmarshaller(InternalContext internalContext,
Mapping mapping)
Creates a new Unmarshaller with the given Mapping. |
|
Unmarshaller(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(Class type)
Creates a GeneralizedFieldHandler for the given class type. |
| Constructors in org.exolab.castor.xml.handlers that throw MappingException | |
|---|---|
ValueOfFieldHandler(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,
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. |
|
XMLContainerElementFieldDescriptor(XMLFieldDescriptorImpl fieldDesc,
NodeType primitiveNodeType)
|
|
XMLFieldDescriptorImpl(FieldDescriptor fieldDesc,
String xmlName,
NodeType nodeType,
NodeType primitiveNodeType)
Construct a new field descriptor for the specified field. |
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||