Class ResourceLabelTemplate

    • Constructor Detail

      • ResourceLabelTemplate

        public ResourceLabelTemplate()
        Creates a new template.
    • Method Detail

      • getResourceIdentifier

        public String getResourceIdentifier()
        Returns the resource class name.
        Returns:
        The resource class name.
      • setContent

        public void setContent​(String content)
        Sets the content.
        Parameters:
        content - the content.
      • getContent

        public String getContent()
        Returns the content.
        Returns:
        The content.
      • getNullValue

        public String getNullValue()
        Returns the string that represents a null value.
        Returns:
        The string that represents a null value.
      • setNullValue

        public void setNullValue​(String nullValue)
        Sets the string that represents a null value.
        Parameters:
        nullValue - The string that represents a null value.
      • getValue

        public Object getValue​(ExpressionRuntime runtime,
                               ReportElement element)
        Returns the current value for the data source.
        Parameters:
        runtime - the expression runtime that is used to evaluate formulas and expressions when computing the value of this filter.
        element -
        Returns:
        the value.