| |
|
| java.lang.Object org.exolab.castor.mapping.loader.AbstractMappingLoader2
All known Subclasses: org.exolab.castor.mapping.loader.AbstractMappingLoader,
AbstractMappingLoader2 | abstract public class AbstractMappingLoader2 implements MappingLoader(Code) | | |
addDescriptor | final protected void addDescriptor(ClassDescriptor descriptor) throws MappingException(Code) | | Adds a class descriptor. Will throw a mapping exception if a descriptor for this class
already exists.
Parameters: descriptor - The descriptor to add. throws: MappingException - A descriptor for this class already exists. |
clear | final public void clear()(Code) | | |
isAllowRedefinition | final public boolean isAllowRedefinition()(Code) | | Is the ability to allow redefinitions enabled or disabled?
A boolean that when true enables redefinitions. |
loadMapping | final protected boolean loadMapping()(Code) | | Return if mapping should be loaded with this MappingLoader instance or if another
mapping have been loaded previously. If no mapping have been loaded previously
then prevent any other mapping to be loaded later on.
true if mapping should be loaded, false otherwise. |
setAllowRedefinitions | final public void setAllowRedefinitions(boolean allow)(Code) | | Enables or disables the ability to allow the redefinition of class mappings.
Parameters: allow - A boolean that when true enables redefinitions. |
|
|
|