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

org.jsonschema2pojo.rules.GravitonRuleFactory Maven / Gradle / Ivy

There is a newer version: 0.10.0
Show newest version
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();
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy