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