Package org.mapfish.print.processor.jasper

Examples of org.mapfish.print.processor.jasper.LegendProcessor


                        " and there are " + oldLegendJson.size() + " legend request objects.");
        }

        for (int i = 0; i < legendProcessors.size(); i++) {
            String legendAttName = "legend";
            LegendProcessor legendProcessor = legendProcessors.get(i);

            if (legendProcessor.getInputMapperBiMap().containsValue("legend")) {
                legendAttName = legendProcessor.getInputMapperBiMap().inverse().get("legend");
            }

            final JSONObject value;
            if (oldLegendJson.size() > i) {
                value = oldLegendJson.getJSONObject(i).getInternalObj();
View Full Code Here


    private static List<LegendProcessor> getLegendProcessor(final Template template) {
        List<LegendProcessor> processors = Lists.newArrayList();

        for (Processor processor : template.getProcessors()) {
            if (processor instanceof LegendProcessor) {
                LegendProcessor legendProcessor = (LegendProcessor) processor;
                processors.add(legendProcessor);
            }
        }
        return processors;
    }
View Full Code Here

TOP

Related Classes of org.mapfish.print.processor.jasper.LegendProcessor

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.