org.mapfish.print.attribute.IntegerAttribute 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;
/**
* An integer type attribute.
* [[examples=verboseExample]]
*/
public class IntegerAttribute extends PrimitiveAttribute {
/**
* Constructor.
*/
public IntegerAttribute() {
super(Integer.class);
}
/**
* A default value for this attribute. Example:
*
* attributes:
* title: !integer
* default: 42
*
* @param value The default value.
*/
public final void setDefault(final Integer value) {
this.defaultValue = value;
}
@Override
public Class getValueType() {
return Integer.class;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy