Package com.networknt.schema.format
Class UriReferenceFormat
java.lang.Object
com.networknt.schema.format.AbstractRFC3986Format
com.networknt.schema.format.UriReferenceFormat
- All Implemented Interfaces:
Format
Format for uri-reference.
-
Constructor Details
-
UriReferenceFormat
public UriReferenceFormat()
-
-
Method Details
-
validate
Description copied from class:AbstractRFC3986FormatDetermines if the uri matches the format.- Specified by:
validatein classAbstractRFC3986Format- Parameters:
uri- the uri to match- Returns:
- true if matches
-
getName
Description copied from interface:FormatGets the format name.- Returns:
- the format name as referred to in a json schema format node.
-
getMessageKey
Description copied from interface:FormatGets the message key to use for the message.See jsv-messages.properties.
The following are the arguments.
{0} The format name
{1} The input valueNote that the default localized messages do not use the input value.
- Returns:
- the message key
-