Package com.networknt.schema.format
Class AbstractFormat
java.lang.Object
com.networknt.schema.format.BaseFormat
com.networknt.schema.format.AbstractFormat
- All Implemented Interfaces:
Format
Deprecated.
Used for Formats that do not need to use the
ExecutionContext.-
Constructor Summary
ConstructorsConstructorDescriptionAbstractFormat(String name, String errorMessageDescription) Deprecated.Constructor. -
Method Summary
Modifier and TypeMethodDescriptionbooleanmatches(ExecutionContext executionContext, String value) Deprecated.Determines if the value matches the format.abstract booleanDeprecated.Methods inherited from class com.networknt.schema.format.BaseFormat
getErrorMessageDescription, getName
-
Constructor Details
-
AbstractFormat
Deprecated.Constructor.- Parameters:
name- the nameerrorMessageDescription- the error message description
-
-
Method Details
-
matches
Deprecated.Description copied from interface:FormatDetermines if the value matches the format.This should be implemented for string node types.
- Parameters:
executionContext- the execution contextvalue- to match- Returns:
- true if matches
-
matches
Deprecated.
-