com.artenum.rosetta.util
Class ConfigurationBuilder

java.lang.Object
  extended by com.artenum.rosetta.util.ConfigurationBuilder

public class ConfigurationBuilder
extends Object

Author:
Sebastien Jourdain (jourdain@artenum.com)

Field Summary
protected static String ACTION
           
protected static String ACTION_MAPPING
           
protected static String CLASSNAME
           
protected static String FALSE
           
protected static String KEY_MAPPING
           
protected static String MASK
           
protected static String METHOD_GET
           
protected static String METHOD_IS
           
protected static String NAME
           
protected static String PRIMITIVE_TYPE_NAME_BOOLEAN
           
protected static String PRIMITIVE_TYPE_NAME_DOUBLE
           
protected static String PRIMITIVE_TYPE_NAME_INT
           
protected static String TRUE
           
protected static String USE_CACHE
           
protected static String VALUE
           
 
Constructor Summary
ConfigurationBuilder()
           
 
Method Summary
static Object buildConfiguration(Class<?>[] resultClass, String fileToLoad)
           
static ConsoleConfiguration buildConfiguration(String fileToLoad)
           
static String getVersion()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

VALUE

protected static final String VALUE
See Also:
Constant Field Values

NAME

protected static final String NAME
See Also:
Constant Field Values

ACTION

protected static final String ACTION
See Also:
Constant Field Values

MASK

protected static final String MASK
See Also:
Constant Field Values

CLASSNAME

protected static final String CLASSNAME
See Also:
Constant Field Values

USE_CACHE

protected static final String USE_CACHE
See Also:
Constant Field Values

KEY_MAPPING

protected static final String KEY_MAPPING
See Also:
Constant Field Values

ACTION_MAPPING

protected static final String ACTION_MAPPING
See Also:
Constant Field Values

TRUE

protected static final String TRUE
See Also:
Constant Field Values

FALSE

protected static final String FALSE
See Also:
Constant Field Values

METHOD_GET

protected static final String METHOD_GET
See Also:
Constant Field Values

METHOD_IS

protected static final String METHOD_IS
See Also:
Constant Field Values

PRIMITIVE_TYPE_NAME_INT

protected static final String PRIMITIVE_TYPE_NAME_INT
See Also:
Constant Field Values

PRIMITIVE_TYPE_NAME_DOUBLE

protected static final String PRIMITIVE_TYPE_NAME_DOUBLE
See Also:
Constant Field Values

PRIMITIVE_TYPE_NAME_BOOLEAN

protected static final String PRIMITIVE_TYPE_NAME_BOOLEAN
See Also:
Constant Field Values
Constructor Detail

ConfigurationBuilder

public ConfigurationBuilder()
Method Detail

getVersion

public static String getVersion()

buildConfiguration

public static Object buildConfiguration(Class<?>[] resultClass,
                                        String fileToLoad)
                                 throws IllegalArgumentException,
                                        SAXException,
                                        IOException,
                                        ParserConfigurationException
Throws:
IllegalArgumentException
SAXException
IOException
ParserConfigurationException

buildConfiguration

public static ConsoleConfiguration buildConfiguration(String fileToLoad)
                                               throws IllegalArgumentException,
                                                      SAXException,
                                                      IOException,
                                                      ParserConfigurationException
Throws:
IllegalArgumentException
SAXException
IOException
ParserConfigurationException


Copyright © 2007-2011 Artenum. All Rights Reserved.