org.exolab.castor.xml.util
Class MappingLoaderNature

java.lang.Object
  extended by org.castor.core.nature.BaseNature
      extended by org.exolab.castor.xml.util.MappingLoaderNature

public final class MappingLoaderNature
extends BaseNature

MappingLoaderNature provides a MappingLoader.

Since:
1.2.1
Author:
Lukas Lang

Constructor Summary
protected MappingLoaderNature(PropertyHolder holder)
          Constructor taking a PropertyHolder.
 
Method Summary
 java.lang.String getId()
          Returns the Nature Id.
 MappingLoader getMappingLoader()
          Returns the MappingLoader.
 void setMappingLoader(MappingLoader mappingLoader)
          Sets the MappingLoader.
 
Methods inherited from class org.castor.core.nature.BaseNature
getBooleanPropertyDefaultFalse, getHolder, getProperty, getPropertyAsList, getPropertyAsMap, setProperty
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MappingLoaderNature

protected MappingLoaderNature(PropertyHolder holder)
Constructor taking a PropertyHolder.

Parameters:
holder - The PropertyHolder to use.
Method Detail

getId

public java.lang.String getId()
Returns the Nature Id.

Returns:
Fully qualified Class name.
See Also:
Nature.getId()

setMappingLoader

public void setMappingLoader(MappingLoader mappingLoader)
Sets the MappingLoader.

Parameters:
mappingLoader - The MappingLoader to set.

getMappingLoader

public MappingLoader getMappingLoader()
Returns the MappingLoader.

Returns:
A MappingLoader or null if not set.


Copyright © 2011. All Rights Reserved.