All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.jangaroo.exml.model.ConfigClassToNewExmlElementAdapter Maven / Gradle / Ivy

There is a newer version: 4.1.0-alpha-8
Show newest version
package net.jangaroo.exml.model;

/**
 * An adapter from config class to EXML element of the new format.
 */
public class ConfigClassToNewExmlElementAdapter extends AbstractConfigClassToExmlElementAdapter {

  public ConfigClassToNewExmlElementAdapter(ConfigClass configClass) {
    super(configClass);
  }

  @Override
  public String getPackage() {
    return configClass.getTargetClassPackage();
  }

  @Override
  public String getTypeName() {
    return getName() + "_TYPE";
  }

  @Override
  public String getName() {
    return configClass.getTargetClassShortName();
  }

  @Override
  protected ExmlElement createAdapter(ConfigClass configClass) {
    return new ConfigClassToNewExmlElementAdapter(configClass);
  }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy