Class IriFormat

    • Constructor Detail

      • IriFormat

        public IriFormat()
    • Method Detail

      • validate

        protected boolean validate​(java.net.URI uri)
        Description copied from class: AbstractRFC3986Format
        Determines if the uri matches the format.
        Specified by:
        validate in class AbstractRFC3986Format
        Parameters:
        uri - the uri to match
        Returns:
        true if matches
      • getName

        public java.lang.String getName()
        Description copied from interface: Format
        Gets the format name.
        Returns:
        the format name as referred to in a json schema format node.
      • getMessageKey

        public java.lang.String 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