net.sf.oxclient.mappings.xml
Class XMLMappingManager

java.lang.Object
  extended by net.sf.oxclient.mappings.xml.XMLMappingManager
All Implemented Interfaces:
IMappingManager, InitializingBean

@Guarded
public class XMLMappingManager
extends Object
implements IMappingManager, InitializingBean

Author:
Björn Voß

Constructor Summary
XMLMappingManager()
           
 
Method Summary
 void afterPropertiesSet()
           
 Resource getMappingFile()
           
 Map<Integer,String> getMappingForClass(Class<?> clazz)
           
 List<Mapping> getMappings()
           
 void setMappingFile(Resource mappingFile)
           
 void setMappings(List<Mapping> mappings)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XMLMappingManager

public XMLMappingManager()
Method Detail

afterPropertiesSet

public void afterPropertiesSet()
                        throws Exception
Specified by:
afterPropertiesSet in interface InitializingBean
Throws:
Exception

getMappingFile

public Resource getMappingFile()
Returns:
the mappingFile

getMappingForClass

public Map<Integer,String> getMappingForClass(@NotNull
                                              Class<?> clazz)
Specified by:
getMappingForClass in interface IMappingManager

getMappings

public List<Mapping> getMappings()
Returns:
the mappings

setMappingFile

public void setMappingFile(@NotNull
                           Resource mappingFile)
Parameters:
mappingFile - the mappingFile to set

setMappings

public void setMappings(@NotNull
                        List<Mapping> mappings)
Parameters:
mappings - the mappings to set


Copyright © 2007. All Rights Reserved.