org.exolab.castor.mapping.loader
public abstract class AbstractMappingLoader2 extends Object implements MappingLoader
Constructor Summary | |
---|---|
AbstractMappingLoader2(ClassLoader loader) |
Method Summary | |
---|---|
protected void | addDescriptor(ClassDescriptor descriptor)
Adds a class descriptor. |
void | clear() |
Iterator | descriptorIterator() |
ClassLoader | getClassLoader() |
ClassDescriptor | getDescriptor(String classname) |
boolean | isAllowRedefinition()
Is the ability to allow redefinitions enabled or disabled?
|
void | loadMapping(MappingRoot mapping, Object param)
Loads the mapping from the specified mapping object if not loaded previously.
|
protected abstract void | loadMappingInternal(MappingRoot mapping, Object param)
Loads the mapping from the specified mapping object. |
void | setAllowRedefinitions(boolean allow)
Enables or disables the ability to allow the redefinition of class mappings.
|
void | setClassLoader(ClassLoader loader) |
Parameters: descriptor The descriptor to add.
Throws: MappingException A descriptor for this class already exists.
See Also:
{@inheritDoc }
See Also:
{@inheritDoc }
See Also:
{@inheritDoc }
Returns: A boolean that when true enables redefinitions.
Parameters: mapping The mapping information. param Arbitrary parameter that can be used by subclasses.
Throws: MappingException The mapping file is invalid.
Parameters: mapping The mapping information. param Arbitrary parameter that can be used by subclasses.
Throws: MappingException The mapping file is invalid.
Parameters: allow A boolean that when true enables redefinitions.
See Also:
{@inheritDoc }