Interface ParserAction

All Known Implementing Classes:
NormalParserAction, ParserActionBase, PrefixParserAction

public interface ParserAction
  • Method Summary

    Modifier and Type
    Method
    Description
    Apply this action to props and return the result.
    Return the field name in an object that is set with the result
    Return the property name or prefix for which this action is applied.
    boolean
    Return whether this action is for an exact match or a prefix match (true).
  • Method Details

    • getPropertyName

      String getPropertyName()
      Return the property name or prefix for which this action is applied.
      Returns:
      the property name or prefix.
    • isPrefix

      boolean isPrefix()
      Return whether this action is for an exact match or a prefix match (true).
      Returns:
      true if this action is for an exact or prefix match.
    • getFieldName

      String getFieldName()
      Return the field name in an object that is set with the result
      Returns:
      the field name
    • apply

      Object apply(Properties props)
      Apply this action to props and return the result.
      Parameters:
      props - properties to apply action to
      Returns:
      result of action