Class DoubleDataTypeTransformer

    • Constructor Detail

      • DoubleDataTypeTransformer

        public DoubleDataTypeTransformer()
    • Method Detail

      • transform

        public TypedValue transform​(java.lang.Object value)
                             throws java.lang.IllegalArgumentException
        Description copied from interface: DmnDataTypeTransformer
        Transform the given value.
        Specified by:
        transform in interface DmnDataTypeTransformer
        Parameters:
        value - of any type
        Returns:
        value of the specific type
        Throws:
        java.lang.IllegalArgumentException - if the value can not be transformed
      • transformNumber

        protected double transformNumber​(java.lang.Number value)
      • transformString

        protected double transformString​(java.lang.String value)