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 TypeFieldDescriptionprotected final MessageSourceValidationMessageHandler.messageSourceMethods 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.voidSchemaValidatorsConfig.ImmutableSchemaValidatorsConfig.setMessageSource(MessageSource messageSource) voidSchemaValidatorsConfig.setMessageSource(MessageSource messageSource) Set the message source to use for generating localised messages.Constructors in com.networknt.schema with parameters of type MessageSourceModifierConstructorDescriptionprotectedBaseJsonValidator(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) protectedJsonSchema(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.protectedValidationMessageHandler(ErrorMessageType errorMessageType, String errorMessageKeyword, MessageSource messageSource, Keyword keyword, JsonSchema parentSchema, SchemaLocation schemaLocation, JsonNodePath evaluationPath) protectedValidationMessageHandler(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 TypeClassDescriptionclassMessageSourcethat retrieves messages from aResourceBundle.Methods in com.networknt.schema.i18n that return MessageSourceModifier and TypeMethodDescriptionstatic MessageSourceDefaultMessageSource.getInstance()Gets the defaultMessageSourceusing the jsv-messages bundle.