Class ReportFieldRegExp

    • Field Detail

      • m_Field

        protected Field m_Field
        the report field.
      • m_RegExp

        protected BaseRegExp m_RegExp
        the regular expression to match.
      • m_Group

        protected String m_Group
        the group to extract.
    • Constructor Detail

      • ReportFieldRegExp

        public ReportFieldRegExp()
    • Method Detail

      • setField

        public void setField​(Field value)
        Sets the field to get the group from.
        Parameters:
        value - the field
      • getField

        public Field getField()
        Returns the field to get the group from.
        Returns:
        the field
      • fieldTipText

        public String fieldTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the GUI or for listing the options.
      • setRegExp

        public void setRegExp​(BaseRegExp value)
        Sets the regular expression to apply to the report value.
        Parameters:
        value - the regular expression
      • getRegExp

        public BaseRegExp getRegExp()
        Returns the regular expression to apply to the report value.
        Returns:
        the regular expression
      • regExpTipText

        public String regExpTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the GUI or for listing the options.
      • setGroup

        public void setGroup​(String value)
        Sets the group to extract.
        Parameters:
        value - the group
      • getGroup

        public String getGroup()
        Returns the group to extract.
        Returns:
        the group
      • groupTipText

        public String groupTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the GUI or for listing the options.
      • handles

        public boolean handles​(Object obj)
        Checks whether the data type is handled.
        Parameters:
        obj - the object to check
        Returns:
        true if handled
      • doExtractGroup

        protected String doExtractGroup​(Object obj)
        Extracts the group from the object.
        Specified by:
        doExtractGroup in class AbstractGroupExtractor
        Parameters:
        obj - the object to process
        Returns:
        the extracted group, null if failed to extract or not handled