net.jangaroo.exml.config
Class ExmlConfiguration

java.lang.Object
  extended by net.jangaroo.utils.FileLocations
      extended by net.jangaroo.exml.config.ExmlConfiguration

public class ExmlConfiguration
extends FileLocations


Constructor Summary
ExmlConfiguration()
           
 
Method Summary
 File computeConfigClassTarget(String configClassName)
           
 File computeGeneratedComponentClassFile(File exmlFile)
           
 File computeGeneratedConfigClassFile(File exmlFile)
           
 String getConfigClassPackage()
           
 CompileLog getLog()
           
 File getResourceOutputDirectory()
           
 ValidationMode getValidationMode()
           
 void setConfigClassPackage(String configClassPackage)
           
 void setLog(CompileLog log)
          Set the compile log to be used.
 void setResourceOutputDirectory(File resourceOutputDirectory)
           
 void setValidationMode(ValidationMode validationMode)
           
 String toString()
           
 
Methods inherited from class net.jangaroo.utils.FileLocations
addSourceFile, addSourceFile, findSourceDir, getClassPath, getOutputDirectory, getSourceFiles, getSourcePath, setClassPath, setOutputDirectory, setSourceFiles, setSourcePath
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ExmlConfiguration

public ExmlConfiguration()
Method Detail

getConfigClassPackage

public String getConfigClassPackage()

setConfigClassPackage

public void setConfigClassPackage(String configClassPackage)

getResourceOutputDirectory

public File getResourceOutputDirectory()

setResourceOutputDirectory

public void setResourceOutputDirectory(File resourceOutputDirectory)

getValidationMode

public ValidationMode getValidationMode()

setValidationMode

public void setValidationMode(ValidationMode validationMode)

setLog

public void setLog(CompileLog log)
Set the compile log to be used. Currently, Exmlc uses it only for validation errors / warning if validation mode is enabled.

Parameters:
log - the compile log to be used

getLog

public CompileLog getLog()

computeConfigClassTarget

public File computeConfigClassTarget(String configClassName)

computeGeneratedConfigClassFile

public File computeGeneratedConfigClassFile(File exmlFile)

computeGeneratedComponentClassFile

public File computeGeneratedComponentClassFile(File exmlFile)
                                        throws IOException
Throws:
IOException

toString

public String toString()
Overrides:
toString in class FileLocations


Copyright © 2002-2012 CoreMedia AG. All Rights Reserved.