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