net.jangaroo.exml.model
Class ConfigClassRegistry
java.lang.Object
net.jangaroo.exml.model.ConfigClassRegistry
public final class ConfigClassRegistry
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConfigClassRegistry
public ConfigClassRegistry(ExmlConfiguration config)
throws IOException
- Throws:
IOException
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.