public class ChartDomainPropertyMetadata extends Metadata {// todo: use common internal tag handlers and remove these classes
private final Method method;
private final TagAttribute attribute;
public void applyMetadata(FaceletContext ctx, Object instance) {
ChartDomain d = Enumerations.valueByString(
ChartDomain.class, attribute.getValue(), ChartDomain.BOTH, "domain");
try {
method.invoke(instance, d);
}
catch (InvocationTargetException e) {