com.astamuse.asta4d.data.DefaultContextDataSetFactory Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of asta4d-core Show documentation
Show all versions of asta4d-core Show documentation
core functionalities of asta4d framework, including template and snippt implemention
package com.astamuse.asta4d.data;
public class DefaultContextDataSetFactory implements ContextDataSetFactory {
@SuppressWarnings("rawtypes")
@Override
public Object createInstance(Class cls) {
try {
return cls.newInstance();
} catch (InstantiationException | IllegalAccessException e) {
throw new RuntimeException(e);
}
}
}