Package com.carmanconsulting.cassidy.pojo.assembly

Examples of com.carmanconsulting.cassidy.pojo.assembly.AssemblyStack


//----------------------------------------------------------------------------------------------------------------------

    @Override
    @SuppressWarnings("unchecked")
    public V fromColumns(List<HColumn<DynamicComposite, byte[]>> columns) {
        AssemblyStack stack = new AssemblyStack();
        for (HColumn<DynamicComposite, byte[]> column : columns) {
            Class<? extends AssemblyStep> stepType = (Class<? extends AssemblyStep>) classResolver.resolveClass((String) column.getName().get(1));
            AssemblyStep step = CassidyUtils.instantiate(stepType);
            step.initializeFromColumn(column.getValue(), classResolver);
            step.execute(stack);
        }
        return stack.pop();
    }
View Full Code Here


//----------------------------------------------------------------------------------------------------------------------

    @Override
    @SuppressWarnings("unchecked")
    public V fromColumns(List<HColumn<DynamicComposite, byte[]>> columns) {
        AssemblyStack stack = new AssemblyStack();
        for (HColumn<DynamicComposite, byte[]> column : columns) {
            final String stepTypeName = (String) column.getName().get(1);
            final Class<? extends AssemblyStep> stepType = context.classPath().resolveClass(stepTypeName);
            AssemblyStep step = CassidyUtils.instantiate(stepType);
            step.initializeFromColumn(column.getValue(), context);
            step.execute(stack);
        }
        return stack.pop();
    }
View Full Code Here

//----------------------------------------------------------------------------------------------------------------------

    @Override
    @SuppressWarnings("unchecked")
    public V fromColumns(List<HColumn<DynamicComposite, byte[]>> columns) {
        AssemblyStack stack = new AssemblyStack();
        for (HColumn<DynamicComposite, byte[]> column : columns) {
            Class<? extends AssemblyStep> stepType = (Class<? extends AssemblyStep>) classResolver.resolveClass((String) column.getName().get(1));
            AssemblyStep step = CassidyUtils.instantiate(stepType);
            step.initializeFromColumn(column.getValue(), classResolver);
            step.execute(stack);
        }
        return stack.pop();
    }
View Full Code Here

TOP

Related Classes of com.carmanconsulting.cassidy.pojo.assembly.AssemblyStack

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.