Package org.apache.cocoon.components.flow.Interpreter

Examples of org.apache.cocoon.components.flow.Interpreter.Argument


        }
        Object[] ids = parameters.getIds();
        list = new ArrayList();
        for (int i = 0; i < ids.length; i++) {
            String name = ids[i].toString();
            Argument arg = new Argument(name,
                                        org.mozilla.javascript.Context.toString(getProperty(parameters, name)));
            list.add(arg);
        }
        interpreter.handleContinuation(kontId, list, environment);
    }
View Full Code Here


     * {@link java.util.Map}
     */
    public static Map makeMapFromArguments(List params) {
        Map retMap = new HashMap();
        for (Iterator iter = params.iterator(); iter.hasNext();) {
            Argument element = (Argument) iter.next();
            retMap.put(element.name, element.value);
        }
        return retMap;
    }
View Full Code Here

TOP

Related Classes of org.apache.cocoon.components.flow.Interpreter.Argument

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.