Uses of Interface
com.networknt.schema.i18n.MessageSource
Packages that use MessageSource
-
Uses of MessageSource in com.networknt.schema
Fields in com.networknt.schema declared as MessageSourceModifier and TypeFieldDescriptionprivate final MessageSource
MessageSourceValidationMessage.BuilderSupport.messageSource
private MessageSource
SchemaValidatorsConfig.Builder.messageSource
private MessageSource
SchemaValidatorsConfig.messageSource
The message source to use for generating localised messages.protected final MessageSource
ValidationMessageHandler.messageSource
Methods in com.networknt.schema that return MessageSourceModifier and TypeMethodDescriptionSchemaValidatorsConfig.getMessageSource()
Get the message source to use for generating localised messages.Methods in com.networknt.schema with parameters of type MessageSourceModifier and TypeMethodDescriptionMessageSourceValidationMessage.builder
(MessageSource messageSource, Map<String, String> errorMessage, BiConsumer<ValidationMessage, Boolean> observer) SchemaValidatorsConfig.Builder.messageSource
(MessageSource messageSource) Sets the message source to use for generating localised messages.void
SchemaValidatorsConfig.ImmutableSchemaValidatorsConfig.setMessageSource
(MessageSource messageSource) void
SchemaValidatorsConfig.setMessageSource
(MessageSource messageSource) Set the message source to use for generating localised messages.Constructors in com.networknt.schema with parameters of type MessageSourceModifierConstructorDescriptionprotected
BaseJsonValidator
(boolean suppressSubSchemaRetrieval, com.fasterxml.jackson.databind.JsonNode schemaNode, ValidationContext validationContext, ErrorMessageType errorMessageType, String errorMessageKeyword, MessageSource messageSource, Keyword keyword, JsonSchema parentSchema, SchemaLocation schemaLocation, JsonNodePath evaluationPath, JsonSchema evaluationParentSchema, Map<String, String> errorMessage) Constructor to create a copy using fields.Builder
(MessageSource messageSource, Map<String, String> errorMessage, BiConsumer<ValidationMessage, Boolean> observer) BuilderSupport
(MessageSource messageSource, Map<String, String> errorMessage, BiConsumer<ValidationMessage, Boolean> observer) ImmutableSchemaValidatorsConfig
(ApplyDefaultsStrategy applyDefaultsStrategy, boolean cacheRefs, String errorMessageKeyword, ExecutionContextCustomizer executionContextCustomizer, boolean failFast, Boolean formatAssertionsEnabled, boolean handleNullableField, List<JsonSchemaWalkListener> itemWalkListeners, boolean javaSemantics, Map<String, List<JsonSchemaWalkListener>> keywordWalkListenersMap, Locale locale, boolean losslessNarrowing, MessageSource messageSource, boolean openAPI3StyleDiscriminators, PathType pathType, boolean preloadJsonSchema, int preloadJsonSchemaRefMaxNestingDepth, List<JsonSchemaWalkListener> propertyWalkListeners, Boolean readOnly, RegularExpressionFactory regularExpressionFactory, JsonSchemaIdValidator schemaIdValidator, Map<String, Boolean> strictness, boolean typeLoose, Boolean writeOnly) protected
JsonSchema
(List<JsonValidator> validators, boolean validatorsLoaded, boolean recursiveAnchor, TypeValidator typeValidator, String id, boolean suppressSubSchemaRetrieval, com.fasterxml.jackson.databind.JsonNode schemaNode, ValidationContext validationContext, ErrorMessageType errorMessageType, String errorMessageKeyword, MessageSource messageSource, Keyword keyword, JsonSchema parentSchema, SchemaLocation schemaLocation, JsonNodePath evaluationPath, JsonSchema evaluationParentSchema, Map<String, String> errorMessage) Constructor to create a copy using fields.(package private)
SchemaValidatorsConfig
(ApplyDefaultsStrategy applyDefaultsStrategy, boolean cacheRefs, String errorMessageKeyword, ExecutionContextCustomizer executionContextCustomizer, boolean failFast, Boolean formatAssertionsEnabled, boolean nullableKeywordEnabled, List<JsonSchemaWalkListener> itemWalkListeners, boolean javaSemantics, Map<String, List<JsonSchemaWalkListener>> keywordWalkListenersMap, Locale locale, boolean losslessNarrowing, MessageSource messageSource, boolean discriminatorKeywordEnabled, PathType pathType, boolean preloadJsonSchema, int preloadJsonSchemaRefMaxNestingDepth, List<JsonSchemaWalkListener> propertyWalkListeners, Boolean readOnly, RegularExpressionFactory regularExpressionFactory, JsonSchemaIdValidator schemaIdValidator, Map<String, Boolean> strictness, boolean typeLoose, Boolean writeOnly) protected
ValidationMessageHandler
(ErrorMessageType errorMessageType, String errorMessageKeyword, MessageSource messageSource, Keyword keyword, JsonSchema parentSchema, SchemaLocation schemaLocation, JsonNodePath evaluationPath) protected
ValidationMessageHandler
(ErrorMessageType errorMessageType, String errorMessageKeyword, MessageSource messageSource, Keyword keyword, JsonSchema parentSchema, SchemaLocation schemaLocation, JsonNodePath evaluationPath, JsonSchema evaluationParentSchema, Map<String, String> errorMessage) Constructor to create a copy using fields. -
Uses of MessageSource in com.networknt.schema.i18n
Classes in com.networknt.schema.i18n that implement MessageSourceModifier and TypeClassDescriptionclass
MessageSource
that retrieves messages from aResourceBundle
.Fields in com.networknt.schema.i18n declared as MessageSourceModifier and TypeFieldDescriptionprivate static final MessageSource
DefaultMessageSource.Holder.INSTANCE
Methods in com.networknt.schema.i18n that return MessageSourceModifier and TypeMethodDescriptionstatic MessageSource
DefaultMessageSource.getInstance()
Gets the defaultMessageSource
using the jsv-messages bundle.