jaxx.compiler
Interface CompilerConfiguration

All Known Implementing Classes:
DefaultCompilerConfiguration

public interface CompilerConfiguration

Configuration of a compiler task.

Since:
2.0.0
Author:
tchemit

Method Summary
 java.lang.ClassLoader getClassLoader()
           
 java.lang.Class<? extends JAXXCompiler> getCompilerClass()
           
 java.util.Map<java.lang.String,CompiledObjectDecorator> getDecorators()
           
 java.lang.Class<? extends CompiledObjectDecorator> getDefaultDecoratorClass()
           
 java.lang.Class<?> getDefaultErrorUI()
           
 java.lang.String getEncoding()
           
 java.lang.String[] getExtraImports()
           
 java.util.Map<java.lang.String,JAXXCompilerFinalizer> getFinalizers()
           
 java.lang.String getHelpBrokerFQN()
           
 java.util.Map<java.lang.String,Initializer> getInitializers()
           
 java.lang.Class<? extends JAXXContext> getJaxxContextClass()
           
 boolean getOptimize()
          Returns whether or not optimization should be performed.
 java.io.File getTargetDirectory()
          Returns the target directory.
 java.lang.Class<?> getValidatorClass()
           
 boolean isAddLogger()
           
 boolean isAutoImportCss()
          Returns whether or not auto css should be used.
 boolean isAutoRecurseInCss()
          Returns whether or not should recurse in css for existing JAXX Object.
 boolean isGenerateHelp()
           
 boolean isI18nable()
           
 boolean isOptimize()
           
 boolean isProfile()
           
 boolean isResetAfterCompile()
           
 boolean isUseUIManagerForIcon()
           
 boolean isVerbose()
           
 

Method Detail

getClassLoader

java.lang.ClassLoader getClassLoader()
Returns:
the class loader used by compilers

getCompilerClass

java.lang.Class<? extends JAXXCompiler> getCompilerClass()
Returns:
the type of compiler to use

getDefaultDecoratorClass

java.lang.Class<? extends CompiledObjectDecorator> getDefaultDecoratorClass()
Returns:
the type of default decorator to use if none specified

getDefaultErrorUI

java.lang.Class<?> getDefaultErrorUI()
Returns:
the type of the default error UI to use for validation

getExtraImports

java.lang.String[] getExtraImports()
Returns:
extra imports to add on all generated jaxx object

getHelpBrokerFQN

java.lang.String getHelpBrokerFQN()
Returns:
the FQN of the help broker (can not directly a type since the help broker should (may?) be inside the sources.

getJaxxContextClass

java.lang.Class<? extends JAXXContext> getJaxxContextClass()
Returns:
the type of context to use in each generated jaxx object

getOptimize

boolean getOptimize()
Returns whether or not optimization should be performed.

Returns:
whether or not optimizations should be performed

isAutoImportCss

boolean isAutoImportCss()
Returns whether or not auto css should be used.

Returns:
true if a css file with same name as jaxx file should be included in jaxx file if found.
Since:
2.0.2

isAutoRecurseInCss

boolean isAutoRecurseInCss()
Returns whether or not should recurse in css for existing JAXX Object. Note: This functionnality was here at the beginning of the project but offers nothing very usefull, will be remove probably in JAXX 3.0.

Returns:
true if a css file with same name as jaxx file should be included in jaxx file if found.
Since:
2.0.2

getTargetDirectory

java.io.File getTargetDirectory()
Returns the target directory.

Returns:
the target directory

getValidatorClass

java.lang.Class<?> getValidatorClass()
Returns:
the type of validator to use

isAddLogger

boolean isAddLogger()
Returns:
true if a logger must add on each generated jaxx object

isGenerateHelp

boolean isGenerateHelp()
Returns:
true if we are generating help

isI18nable

boolean isI18nable()
Returns:
true if we use the i18n system

isOptimize

boolean isOptimize()
Returns:
true to generate optimized code

isProfile

boolean isProfile()
Returns:
true if a profile pass must be done

isResetAfterCompile

boolean isResetAfterCompile()
Returns:
true if states must be reset after the compilation

isUseUIManagerForIcon

boolean isUseUIManagerForIcon()
Returns:
true if UIManager is used to retrieve icons

isVerbose

boolean isVerbose()
Returns:
true if compiler is verbose

getEncoding

java.lang.String getEncoding()
Returns:
the encoding to use to write files

getDecorators

java.util.Map<java.lang.String,CompiledObjectDecorator> getDecorators()

getFinalizers

java.util.Map<java.lang.String,JAXXCompilerFinalizer> getFinalizers()

getInitializers

java.util.Map<java.lang.String,Initializer> getInitializers()


Copyright © 2008-2010 CodeLutin. All Rights Reserved.