org.jsonschema2pojo.rules.GravitonRuleFactory Maven / Gradle / Ivy
package org.jsonschema2pojo.rules;
import com.sun.codemodel.JClass;
import com.sun.codemodel.JDocComment;
import com.sun.codemodel.JDocCommentable;
import com.sun.codemodel.JPackage;
/**
* Extended rule factory to match Graviton needs.
*/
public class GravitonRuleFactory extends RuleFactory {
@Override
public Rule getArrayRule() {
return new NonSingularArrayRule(this);
}
@Override
public Rule getTitleRule() {
return new FilteredTitleRule();
}
@Override
public Rule getDescriptionRule() {
return new FilteredDescriptionRule();
}
}