Class SchemaResolutionContext


  • public class SchemaResolutionContext
    extends java.lang.Object
    • Constructor Detail

      • SchemaResolutionContext

        public SchemaResolutionContext()
    • Method Detail

      • getDefaultSchemaVersion

        public java.net.URI getDefaultSchemaVersion()
      • setDefaultSchemaVersion

        public void setDefaultSchemaVersion​(java.net.URI defaultSchemaVersion)
      • setDocumentLoader

        public void setDocumentLoader​(DocumentLoader documentLoader)
      • getObjectMapper

        public com.fasterxml.jackson.databind.ObjectMapper getObjectMapper()
      • pushSchemaNode

        public JsonSchemaV7 pushSchemaNode​(com.fasterxml.jackson.databind.JsonNode rootNode,
                                           java.lang.String path,
                                           com.fasterxml.jackson.databind.JsonNode node,
                                           boolean requireSchema)
      • pushSchemaNode

        public JsonSchemaV7 pushSchemaNode​(com.fasterxml.jackson.databind.JsonNode rootNode,
                                           java.util.List<java.lang.String> path,
                                           com.fasterxml.jackson.databind.JsonNode node,
                                           boolean requireSchema)
      • pushSchemaNode

        public JsonSchemaV7 pushSchemaNode​(com.fasterxml.jackson.databind.JsonNode rootNode,
                                           com.fasterxml.jackson.core.JsonPointer jsonPointer,
                                           com.fasterxml.jackson.databind.JsonNode node,
                                           boolean requireSchema)
      • popSchemaNode

        public void popSchemaNode​(com.fasterxml.jackson.databind.JsonNode rootNode,
                                  java.lang.String path,
                                  com.fasterxml.jackson.databind.JsonNode node)
      • popSchemaNode

        public void popSchemaNode​(com.fasterxml.jackson.databind.JsonNode rootNode,
                                  java.util.List<java.lang.String> path,
                                  com.fasterxml.jackson.databind.JsonNode node)
      • popSchemaNode

        public void popSchemaNode​(com.fasterxml.jackson.databind.JsonNode rootNode,
                                  com.fasterxml.jackson.core.JsonPointer jsonPointer,
                                  com.fasterxml.jackson.databind.JsonNode node)
      • popSchemaNode

        public void popSchemaNode​(SchemaReference schemaReference)
      • popSchemaReference

        public void popSchemaReference​(SchemaReference schemaReference)
      • getUpperId

        public java.net.URI getUpperId()
      • getFullId

        public java.net.URI getFullId()
      • clear

        public void clear()
      • mapSchema

        public JsonSchemaV7 mapSchema​(com.fasterxml.jackson.databind.JsonNode node)
      • resolveSchema

        public SchemaReference resolveSchema​(com.fasterxml.jackson.databind.JsonNode rootNode,
                                             com.fasterxml.jackson.databind.JsonNode schemaNode,
                                             java.lang.String ref,
                                             java.util.List<java.lang.String> refPathOut,
                                             boolean noRecurse)
                                      throws java.io.IOException
        Throws:
        java.io.IOException
      • loadRemoteSchema

        public SchemaReference loadRemoteSchema​(com.fasterxml.jackson.databind.JsonNode rootNode,
                                                java.net.URI schemaLocation)
                                         throws java.io.IOException
        Throws:
        java.io.IOException