Interface ParserAction

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.lang.Object apply​(java.util.Properties props)
      Apply this action to props and return the result.
      java.lang.String getFieldName()
      Return the field name in an object that is set with the result
      java.lang.String getPropertyName()
      Return the property name or prefix for which this action is applied.
      boolean isPrefix()
      Return whether this action is for an exact match or a prefix match (true).
    • Method Detail

      • getPropertyName

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

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

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