net.jangaroo.exml.model
Class ConfigClassRegistry

java.lang.Object
  extended by net.jangaroo.exml.model.ConfigClassRegistry

public final class ConfigClassRegistry
extends Object


Constructor Summary
ConfigClassRegistry(ExmlConfiguration config)
           
 
Method Summary
 File generateConfigClass(File exmlFile)
           
 File generateTargetClass(File exmlSourceFile)
           
 void generateXsd(Writer output)
           
 ExmlConfiguration getConfig()
           
 ConfigClass getConfigClassByName(String name)
          Get a ConfigClass for the given name.
 Collection<ConfigClass> getSourceConfigClasses()
          Returns the list of all config classes in the source path, defined in EXML or ActionScript.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConfigClassRegistry

public ConfigClassRegistry(ExmlConfiguration config)
                    throws IOException
Throws:
IOException
Method Detail

getConfig

public ExmlConfiguration getConfig()

getSourceConfigClasses

public Collection<ConfigClass> getSourceConfigClasses()
Returns the list of all config classes in the source path, defined in EXML or ActionScript.

Returns:
list of registered Config classes

generateConfigClass

public File generateConfigClass(File exmlFile)

getConfigClassByName

public ConfigClass getConfigClassByName(String name)
Get a ConfigClass for the given name. Returns null if no class was found

Parameters:
name - the name of the class
Returns:
the configClass or null if none was found

generateTargetClass

public File generateTargetClass(File exmlSourceFile)

generateXsd

public void generateXsd(Writer output)
                 throws IOException,
                        freemarker.template.TemplateException
Throws:
IOException
freemarker.template.TemplateException


Copyright © 2002–2014 CoreMedia AG. All rights reserved.