Class AbstractRFC3986Format

    • Constructor Detail

      • AbstractRFC3986Format

        public AbstractRFC3986Format()
    • Method Detail

      • matches

        public final boolean matches​(ExecutionContext executionContext,
                                     String value)
        Description copied from interface: Format
        Determines if the value matches the format.

        This should be implemented for string node types.

        Specified by:
        matches in interface Format
        Parameters:
        executionContext - the execution context
        value - to match
        Returns:
        true if matches
      • validate

        protected abstract boolean validate​(URI uri)
        Determines if the uri matches the format.
        Parameters:
        uri - the uri to match
        Returns:
        true if matches
      • handleException

        protected boolean handleException​(URISyntaxException e)
        Determines if the uri matches the format.
        Parameters:
        e - the URISyntaxException
        Returns:
        false if it does not match