Package com.networknt.schema.format
Class IriFormat
java.lang.Object
com.networknt.schema.format.AbstractRFC3986Format
com.networknt.schema.format.IriFormat
- All Implemented Interfaces:
Format
Format for iri.
-
Constructor Details
-
IriFormat
public IriFormat()
-
-
Method Details
-
validate
Description copied from class:AbstractRFC3986Format
Determines if the uri matches the format.- Specified by:
validate
in classAbstractRFC3986Format
- Parameters:
uri
- the uri to match- Returns:
- true if matches
-
getName
Description copied from interface:Format
Gets the format name.- Returns:
- the format name as referred to in a json schema format node.
-
getMessageKey
Description copied from interface:Format
Gets the message key to use for the message.See jsv-messages.properties.
The following are the arguments.
{0} The instance location
{1} The format name
{2} The error message description
{3} The input value- Returns:
- the message key
-