Class BooleanAttribute

java.lang.Object
org.mapfish.print.attribute.PrimitiveAttribute<Boolean>
org.mapfish.print.attribute.BooleanAttribute
All Implemented Interfaces:
Attribute, ConfigurationObject

public class BooleanAttribute extends PrimitiveAttribute<Boolean>
A boolean type attribute. [[examples=verboseExample]]
  • Constructor Details

    • BooleanAttribute

      public BooleanAttribute()
      Constructor.
  • Method Details

    • setDefault

      public final void setDefault(Boolean value)
      A default value for this attribute. Example:
      
           attributes:
             title: !boolean
               default: True
      Specified by:
      setDefault in class PrimitiveAttribute<Boolean>
      Parameters:
      value - The default value.
    • getValueType

      public Class getValueType()
      Description copied from interface: Attribute
      Get the class of the value.
      Returns:
      the value class