Package com.github.fge.processing
Class ProcessingUtil
- java.lang.Object
-
- com.github.fge.processing.ProcessingUtil
-
public class ProcessingUtil extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static CustomAvro2JsonSchemaProcessor_customAvro2JsonSchemaProcessorstatic MessageBundlebundlestatic java.lang.StringINPUTstatic java.lang.StringINVALID_INPUTstatic com.fasterxml.jackson.databind.node.JsonNodeFactoryNODE_FACTORYstatic com.github.fge.jackson.JsonNodeReadernodeReaderstatic 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>>processorstatic com.github.fge.jsonschema.core.keyword.syntax.SyntaxProcessorsyntax
-
Constructor Summary
Constructors Constructor Description ProcessingUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static com.fasterxml.jackson.databind.JsonNodebuild(com.fasterxml.jackson.core.JsonProcessingException e, boolean crlf)static com.fasterxml.jackson.databind.JsonNodebuildReport(com.github.fge.jsonschema.core.report.ProcessingReport report)static com.fasterxml.jackson.databind.JsonNodebuildResult(java.lang.String input)static booleanfillWithData(com.fasterxml.jackson.databind.node.ObjectNode node, java.lang.String raw, com.github.fge.jackson.JsonNodeReader nodeReader)
-
-
-
Field Detail
-
INPUT
public static final java.lang.String INPUT
- See Also:
- Constant Field Values
-
INVALID_INPUT
public static final java.lang.String INVALID_INPUT
- See Also:
- Constant Field Values
-
NODE_FACTORY
public static final com.fasterxml.jackson.databind.node.JsonNodeFactory NODE_FACTORY
-
nodeReader
public static final com.github.fge.jackson.JsonNodeReader nodeReader
-
_customAvro2JsonSchemaProcessor
public static final CustomAvro2JsonSchemaProcessor _customAvro2JsonSchemaProcessor
-
bundle
public static final MessageBundle bundle
-
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
-
-
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.IOExceptioncom.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)
-
-