org.mapfish.print.attribute.TableAttribute Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of print-lib Show documentation
Show all versions of print-lib Show documentation
Library for generating PDFs and images from online webmapping services
package org.mapfish.print.attribute;
import org.mapfish.print.config.Configuration;
import org.mapfish.print.config.Template;
import org.mapfish.print.wrapper.PArray;
import java.util.List;
/**
* The attributes for {@link org.mapfish.print.processor.jasper.TableProcessor} (see
* !prepareTable processor).
* [[examples=verboseExample,datasource_dynamic_tables,customDynamicReport]]
*/
public final class TableAttribute extends ReflectiveAttribute {
@Override
public Class getValueType() {
return TableAttributeValue.class;
}
@Override
public TableAttributeValue createValue(final Template template) {
return new TableAttributeValue();
}
@Override
public void validate(final List validationErrors, final Configuration configuration) {
// no checks required
}
/**
* The value of {@link org.mapfish.print.attribute.TableAttribute}.
*/
public static final class TableAttributeValue {
/**
* The column configuration names for the table.
*/
public String[] columns;
/**
* An array for each table row.
*/
public PArray[] data;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy