Search in sources :

Example 1 with ExmlToConfigClassParser

use of net.jangaroo.exml.parser.ExmlToConfigClassParser in project jangaroo-tools by CoreMedia.

the class ExmlSourceFile method parseExmlToConfigClass.

public ConfigClass parseExmlToConfigClass() {
    try {
        ConfigClass configClass = new ExmlToConfigClassParser().parseExmlToConfigClass(getSourceFile());
        configClass.setFullName(getConfigClassName());
        configClass.setComponentClassName(getTargetClassName());
        return configClass;
    } catch (IOException e) {
        // TODO Log and continue?
        throw new ExmlcException("could not read EXML file", e);
    }
}
Also used : ExmlcException(net.jangaroo.exml.api.ExmlcException) IOException(java.io.IOException) ExmlToConfigClassParser(net.jangaroo.exml.parser.ExmlToConfigClassParser)

Aggregations

IOException (java.io.IOException)1 ExmlcException (net.jangaroo.exml.api.ExmlcException)1 ExmlToConfigClassParser (net.jangaroo.exml.parser.ExmlToConfigClassParser)1