Class ProcessingUtil


  • public class ProcessingUtil
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static CustomAvro2JsonSchemaProcessor _customAvro2JsonSchemaProcessor  
      static MessageBundle bundle  
      static java.lang.String INPUT  
      static java.lang.String INVALID_INPUT  
      static com.fasterxml.jackson.databind.node.JsonNodeFactory NODE_FACTORY  
      static com.github.fge.jackson.JsonNodeReader nodeReader  
      static com.github.fge.jsonschema.core.processing.Processor<com.github.fge.jsonschema.core.util.ValueHolder<com.github.fge.jsonschema.core.tree.JsonTree>,​com.github.fge.jsonschema.core.util.ValueHolder<com.github.fge.jsonschema.core.tree.SchemaTree>> processor  
      static com.github.fge.jsonschema.core.keyword.syntax.SyntaxProcessor syntax  
    • Constructor Summary

      Constructors 
      Constructor Description
      ProcessingUtil()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static com.fasterxml.jackson.databind.JsonNode build​(com.fasterxml.jackson.core.JsonProcessingException e, boolean crlf)  
      static com.fasterxml.jackson.databind.JsonNode buildReport​(com.github.fge.jsonschema.core.report.ProcessingReport report)  
      static com.fasterxml.jackson.databind.JsonNode buildResult​(java.lang.String input)  
      static boolean fillWithData​(com.fasterxml.jackson.databind.node.ObjectNode node, java.lang.String raw, com.github.fge.jackson.JsonNodeReader nodeReader)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • NODE_FACTORY

        public static final com.fasterxml.jackson.databind.node.JsonNodeFactory NODE_FACTORY
      • nodeReader

        public static final com.github.fge.jackson.JsonNodeReader nodeReader
      • syntax

        public static final com.github.fge.jsonschema.core.keyword.syntax.SyntaxProcessor syntax
      • processor

        public static final com.github.fge.jsonschema.core.processing.Processor<com.github.fge.jsonschema.core.util.ValueHolder<com.github.fge.jsonschema.core.tree.JsonTree>,​com.github.fge.jsonschema.core.util.ValueHolder<com.github.fge.jsonschema.core.tree.SchemaTree>> processor
    • Constructor Detail

      • ProcessingUtil

        public ProcessingUtil()
    • Method Detail

      • buildResult

        public static com.fasterxml.jackson.databind.JsonNode buildResult​(java.lang.String input)
                                                                   throws java.io.IOException,
                                                                          com.github.fge.jsonschema.core.exceptions.ProcessingException
        Throws:
        java.io.IOException
        com.github.fge.jsonschema.core.exceptions.ProcessingException
      • fillWithData

        public static boolean fillWithData​(com.fasterxml.jackson.databind.node.ObjectNode node,
                                           java.lang.String raw,
                                           com.github.fge.jackson.JsonNodeReader nodeReader)
                                    throws java.io.IOException
        Throws:
        java.io.IOException
      • build

        public static com.fasterxml.jackson.databind.JsonNode build​(com.fasterxml.jackson.core.JsonProcessingException e,
                                                                    boolean crlf)
      • buildReport

        public static com.fasterxml.jackson.databind.JsonNode buildReport​(com.github.fge.jsonschema.core.report.ProcessingReport report)