public class ConfigClassRegistry extends Object
| Constructor and Description |
|---|
ConfigClassRegistry(ExmlConfiguration config) |
| Modifier and Type | Method and Description |
|---|---|
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.
|
ExmlSourceFile |
getExmlSourceFile(File exmlFile) |
Map<String,ExmlSourceFile> |
getExmlSourceFilesByConfigClassName() |
JangarooParser |
getJangarooParser() |
Collection<ConfigClass> |
getSourceConfigClasses()
Returns the list of all config classes in the source path, defined in EXML or ActionScript.
|
public ConfigClassRegistry(ExmlConfiguration config) throws IOException
IOExceptionpublic ExmlConfiguration getConfig()
public JangarooParser getJangarooParser()
public Collection<ConfigClass> getSourceConfigClasses()
public ExmlSourceFile getExmlSourceFile(File exmlFile)
public Map<String,ExmlSourceFile> getExmlSourceFilesByConfigClassName()
public ConfigClass getConfigClassByName(String name)
name - the name of the classpublic void generateXsd(Writer output) throws IOException, freemarker.template.TemplateException
IOExceptionfreemarker.template.TemplateExceptionCopyright © 2002–2017 CoreMedia AG. All rights reserved.