Class DMNParseUtil


  • public class DMNParseUtil
    extends Object
    Author:
    Yvo Swillens
    • Field Detail

      • LOGGER

        protected static final org.slf4j.Logger LOGGER
    • Constructor Detail

      • DMNParseUtil

        public DMNParseUtil()
    • Method Detail

      • isCollection

        public static boolean isCollection​(Object collection)
      • isJavaCollection

        public static boolean isJavaCollection​(Object collection)
      • isArrayNode

        public static boolean isArrayNode​(Object collection)
      • isParseableCollection

        public static boolean isParseableCollection​(Object value)
      • getCollectionFromArrayNode

        public static Collection getCollectionFromArrayNode​(com.fasterxml.jackson.databind.node.ArrayNode arrayNode)
      • getJsonValue

        protected static Object getJsonValue​(com.fasterxml.jackson.databind.JsonNode jsonNode)
      • getFormattedValue

        protected static Object getFormattedValue​(Object value,
                                                  Object inputCollection)
      • formatElementValue

        protected static Object formatElementValue​(Object value,
                                                   Class<?> collectionType)
      • removedSurroundingQuotes

        protected static String removedSurroundingQuotes​(String value)
      • getNumberValue

        protected static Object getNumberValue​(String value,
                                               Class<?> targetType)
      • getNumberValue

        protected static Object getNumberValue​(String value)
      • getTargetType

        protected static Class<?> getTargetType​(Object targetTypeObject)