Class InlineTasksUtils


  • public class InlineTasksUtils
    extends Object
    Utilities to parse Inline Tasks
    Since:
    4.3
    • Field Detail

      • LI_TAG

        public static final QName LI_TAG
      • UL_TAG

        public static final QName UL_TAG
      • TABLE_TAG

        public static final QName TABLE_TAG
      • P_TAG

        public static final QName P_TAG
      • INLINE_TASK_ID_DATA_ATTRIBUTE_NAME

        public static final String INLINE_TASK_ID_DATA_ATTRIBUTE_NAME
      • INLINE_TASK_STATUS_NAME

        public static final String INLINE_TASK_STATUS_NAME
    • Constructor Detail

      • InlineTasksUtils

        public InlineTasksUtils()
    • Method Detail

      • getRequiredResources

        public static List<javax.activation.DataSource> getRequiredResources​(DataSourceFactory dataSourceFactory,
                                                                             String htmlContent)
        Returns the inline task DataSource resources required for the specified content. Can be used for:
        • Watch notification email (see DiffInlineTaskMarshaller
        • Like notification email
        • Task assignment email
        • Popular content email
        Parameters:
        dataSourceFactory - DataSourceFactory to retrieve resources
        htmlContent - html formatted content in which inline tasks may appear
        Returns:
        a list of the inline task resources required by the specified content