Package org.mapfish.print.attribute.DataSourceAttribute

Examples of org.mapfish.print.attribute.DataSourceAttribute.DataSourceAttributeValue


                    mapList.add(mapValues);
                }
            }
        }
        LOGGER.info("Paging generate " + mapList.size() + " maps definitions.");
        DataSourceAttributeValue datasourceAttributes = new DataSourceAttributeValue();
        datasourceAttributes.attributesValues = mapList.toArray(new Map[mapList.size()]);
        return new Output(datasourceAttributes);
    }
View Full Code Here


        final Template template = config.getTemplate("main");
        PJsonObject requestData = loadJsonRequestData();
        Values values = new Values(requestData, template, parser, getTaskDirectory(), this.httpRequestFactory, new File("."));
        forkJoinPool.invoke(template.getProcessorGraph().createTask(values));

        final DataSourceAttributeValue datasource = values.getObject("datasource", DataSourceAttributeValue.class);

        assertEquals(2, datasource.attributesValues.length);
    }
View Full Code Here

TOP

Related Classes of org.mapfish.print.attribute.DataSourceAttribute.DataSourceAttributeValue

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.