Package org.everit.json.schema.internal
Class TimeFormatValidator
- java.lang.Object
-
- org.everit.json.schema.internal.TemporalFormatValidator
-
- org.everit.json.schema.internal.TimeFormatValidator
-
- All Implemented Interfaces:
FormatValidator
public class TimeFormatValidator extends TemporalFormatValidator
Implementation of the "time" format value.
-
-
Field Summary
-
Fields inherited from interface org.everit.json.schema.FormatValidator
NONE
-
-
Constructor Summary
Constructors Constructor Description TimeFormatValidator()
-
Method Summary
Modifier and Type Method Description String
formatName()
Provides the name of this format.-
Methods inherited from class org.everit.json.schema.internal.TemporalFormatValidator
validate
-
-
-
-
Method Detail
-
formatName
public String formatName()
Description copied from interface:FormatValidator
Provides the name of this format.Unless specified otherwise the
The default implementation of this method returnsSchemaLoader
will use this name to recognize string schemas using this format."unnamed-format"
. It is strongly recommended for implementations to give a more meaningful name by overriding this method.- Returns:
- the format name.
-
-