Package com.networknt.schema.format
Class AbstractFormat
- java.lang.Object
-
- com.networknt.schema.format.BaseFormat
-
- com.networknt.schema.format.AbstractFormat
-
- All Implemented Interfaces:
Format
- Direct Known Subclasses:
AbstractRFC3986Format,DateFormat,DurationFormat,EmailFormat,IdnEmailFormat,IdnHostnameFormat,PatternFormat,RegexFormat,TimeFormat
public abstract class AbstractFormat extends BaseFormat
Used for Formats that do not need to use theExecutionContext.
-
-
Constructor Summary
Constructors Constructor Description AbstractFormat(String name, String errorMessageDescription)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description booleanmatches(ExecutionContext executionContext, String value)abstract booleanmatches(String value)-
Methods inherited from class com.networknt.schema.format.BaseFormat
getErrorMessageDescription, getName
-
-
-
-
Method Detail
-
matches
public boolean matches(ExecutionContext executionContext, String value)
-
matches
public abstract boolean matches(String value)
-
-