org.jbeanmapper.configurator
Interface Configurator

All Known Implementing Classes:
DefaultConfigurator

public interface Configurator

Configurator of BeanMappings.

Author:
Brian Pugh

Method Summary
 BeanMapping getMapping(java.lang.Class clazz, java.lang.Class targetClass)
          Get a mapping from clazz to targetClass.
 java.util.List getMappings(org.xml.sax.InputSource inputSource)
          Get a list of mappings from an InputSource.
 

Method Detail

getMapping

public BeanMapping getMapping(java.lang.Class clazz,
                              java.lang.Class targetClass)
                       throws BeanMappingException
Get a mapping from clazz to targetClass.

Parameters:
clazz - source class.
targetClass - target class.
Returns:
mapping from clazz to targetClass.
Throws:
BeanMappingException - If the mapping is illegal or otherwise fails.

getMappings

public java.util.List getMappings(org.xml.sax.InputSource inputSource)
                           throws BeanMappingException
Get a list of mappings from an InputSource.

Parameters:
inputSource - The source.
Returns:
A list of mappings from an InputSource.
Throws:
BeanMappingException - If the mapping is illegal or otherwise fails.