Package org.apache.isis.applib.annotation

Examples of org.apache.isis.applib.annotation.Parseable


import org.apache.isis.core.metamodel.runtimecontext.DependencyInjector;

public class ParseableFacetAnnotation extends ParseableFacetAbstract {

    private static String parserName(final Class<?> annotatedClass, final IsisConfiguration configuration) {
        final Parseable annotation = annotatedClass.getAnnotation(Parseable.class);
        final String parserName = annotation.parserName();
        if (!StringUtils.isNullOrEmpty(parserName)) {
            return parserName;
        }
        return ParserUtil.parserNameFromConfiguration(annotatedClass, configuration);
    }
View Full Code Here


        }
        return ParserUtil.parserNameFromConfiguration(annotatedClass, configuration);
    }

    private static Class<?> parserClass(final Class<?> annotatedClass) {
        final Parseable annotation = annotatedClass.getAnnotation(Parseable.class);
        return annotation.parserClass();
    }
View Full Code Here

TOP

Related Classes of org.apache.isis.applib.annotation.Parseable

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.