Class TypeFactory


  • public class TypeFactory
    extends java.lang.Object
    Type factory.
    • Constructor Detail

      • TypeFactory

        public TypeFactory()
    • Method Detail

      • getSchemaNodeType

        public static JsonType getSchemaNodeType​(com.fasterxml.jackson.databind.JsonNode node)
        Gets the JsonType indicated by the schema node.
        Parameters:
        node - the schema node
        Returns:
        the json type
      • getValueNodeType

        public static JsonType getValueNodeType​(com.fasterxml.jackson.databind.JsonNode node,
                                                SchemaValidatorsConfig config)
        Gets the JsonType of the value node.
        Parameters:
        node - the value node
        config - the config
        Returns:
        the json type