public class Configuration extends Object
Constructor and Description |
---|
Configuration(ModelFactory factory,
DmdlSourceRepository source,
Name basePackage,
Emitter output,
ClassLoader serviceClassLoader,
Locale locale)
Creates and returns a new instance.
|
Modifier and Type | Method and Description |
---|---|
Name |
getBasePackage()
Returns the Java base package.
|
ModelFactory |
getFactory()
Returns Java DOM element factory.
|
Locale |
getLocale()
Returns the locale information to generate programs.
|
Emitter |
getOutput()
Returns the Java DOM emitter.
|
ClassLoader |
getServiceClassLoader()
Returns the service class loader.
|
DmdlSourceRepository |
getSource()
Returns DMDL source repository.
|
public Configuration(ModelFactory factory, DmdlSourceRepository source, Name basePackage, Emitter output, ClassLoader serviceClassLoader, Locale locale)
factory
- Java DOM element factorysource
- DMDL source repositorybasePackage
- the Java base packageoutput
- the Java DOM emitterserviceClassLoader
- the class loader to load external serviceslocale
- the locale information to generate programsIllegalArgumentException
- if some parameters were null
public ModelFactory getFactory()
public DmdlSourceRepository getSource()
public Name getBasePackage()
public Emitter getOutput()
public ClassLoader getServiceClassLoader()
public Locale getLocale()
Copyright © 2011–2019 Asakusa Framework Team. All rights reserved.