Class AbstractFormat

  • All Implemented Interfaces:
    Format

    @Deprecated
    public abstract class AbstractFormat
    extends BaseFormat
    Deprecated.
    Used for Formats that do not need to use the ExecutionContext.
    • Constructor Detail

      • AbstractFormat

        public AbstractFormat​(java.lang.String name,
                              java.lang.String errorMessageDescription)
        Deprecated.
        Constructor.
        Parameters:
        name - the name
        errorMessageDescription - the error message description
    • Method Detail

      • matches

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

        This should be implemented for string node types.

        Parameters:
        executionContext - the execution context
        value - to match
        Returns:
        true if matches
      • matches

        public abstract boolean matches​(java.lang.String value)
        Deprecated.