Package org.mapstruct.ap.writer.ModelWriter

Examples of org.mapstruct.ap.writer.ModelWriter.DefaultModelElementWriterContext


    public void execute(Environment env, @SuppressWarnings("rawtypes") Map params, TemplateModel[] loopVars,
                        TemplateDirectiveBody body)
        throws TemplateException, IOException {

        Writable modelElement = getModelElement( params );
        DefaultModelElementWriterContext context = createContext( params );

        try {
            modelElement.write( context, env.getOut() );
        }
        catch ( TemplateException te ) {
View Full Code Here


        Map<Class<?>, Object> values = new HashMap<Class<?>, Object>();
        values.put( Configuration.class, configuration );
        values.put( Map.class, ext );

        return new DefaultModelElementWriterContext( values );
    }
View Full Code Here

TOP

Related Classes of org.mapstruct.ap.writer.ModelWriter.DefaultModelElementWriterContext

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.