org.objectweb.jorm.compiler.api
Interface JormCompilerConfigurator

All Superinterfaces:
JormConfigurator

public interface JormCompilerConfigurator
extends JormConfigurator

Used to hold the configuration information related to a JORM compiler instance.

Author:
P. Dechamboux

Field Summary
static java.lang.String DEFAULT_JORM_CONFIGURATION_FILE
           
static java.lang.String LOGGER_NAME
           
static java.lang.String USE_CONTEXT_CLASSLOADER
           
 
Method Summary
 Generator getGenerator()
          Gets the generator to be used by JORM.
 java.io.InputStream getGlobalJormcOptsFile()
          Gets an InputStream for reading the global compiler parameters.
 java.lang.String getJormcOptsFile()
          Gets the name to be used for the compiler options file.
 MappingVerifier getMappingVerifier(java.lang.String mappername)
          Gets the verifier associated with the given mapper.
 MOPFactory getMOPFactory(java.lang.String mappername)
          Gets the MOP factory associated with the given mapper.
 Verifier getVerifier()
          Gets the verifier to be used by JORM.
 
Methods inherited from interface org.objectweb.jorm.api.JormConfigurator
addSubMapper, configure, configure, configure, configureLog, configureMIManager, configureParser, getGcmClass, getLoggerFactory, getMappingDomtreeBuilder, getMappingParser, getMIFactory, getMIManager, getParser, getSchMgr, getSubMappers, getWriter, knownMappers, removeAllMappers, removeMapper, removeSubMapper, setLoggerFactory
 

Field Detail

LOGGER_NAME

public static final java.lang.String LOGGER_NAME
See Also:
Constant Field Values

DEFAULT_JORM_CONFIGURATION_FILE

public static final java.lang.String DEFAULT_JORM_CONFIGURATION_FILE
See Also:
Constant Field Values

USE_CONTEXT_CLASSLOADER

public static final java.lang.String USE_CONTEXT_CLASSLOADER
See Also:
Constant Field Values
Method Detail

getVerifier

public Verifier getVerifier()
                     throws PException
Gets the verifier to be used by JORM.

Returns:
That verifier.
Throws:
PException

getGenerator

public Generator getGenerator()
                       throws PException
Gets the generator to be used by JORM.

Returns:
That generator.
Throws:
PException

getJormcOptsFile

public java.lang.String getJormcOptsFile()
                                  throws PException
Gets the name to be used for the compiler options file.

Returns:
That name.
Throws:
PException

getMOPFactory

public MOPFactory getMOPFactory(java.lang.String mappername)
                         throws PException
Gets the MOP factory associated with the given mapper.

Parameters:
mappername - The name of the concerned mapper.
Returns:
The MOPFactory object.
Throws:
PException

getGlobalJormcOptsFile

public java.io.InputStream getGlobalJormcOptsFile()
                                           throws PException
Gets an InputStream for reading the global compiler parameters.

Returns:
The allocated InputStream.
Throws:
PException

getMappingVerifier

public MappingVerifier getMappingVerifier(java.lang.String mappername)
                                   throws PException
Gets the verifier associated with the given mapper.

Parameters:
mappername - The name of the concerned mapper.
Returns:
The MappingVerifier object.
Throws:
PException