Class XFormIncludesBuilder


  • public class XFormIncludesBuilder
    extends Object
    Builder-Class for generating the list of includes. Designed for use with fluent api and buildJsIncludes- and buildCssIncludes-method
    Author:
    XIMA MEDIA GmbH
    • Constructor Detail

      • XFormIncludesBuilder

        public XFormIncludesBuilder()
    • Method Detail

      • sortBy

        public XFormIncludesBuilder sortBy​(Comparator<String> sortOrder)
        Parameters:
        sortOrder - The order in which the files are returned. Defaults to a case-insensitive sort. Maybe null , in which case no sorting is performed.
        Returns:
        This for chaining.
      • useJquery

        public XFormIncludesBuilder useJquery​(boolean useJquery)
        Parameters:
        useJquery - If false, do not include JQuery javascript files. Defaults to true.
        Returns:
        This for chaining.
      • useJqueryUi

        public XFormIncludesBuilder useJqueryUi​(boolean useJqueryUi)
        Parameters:
        useJqueryUi - If false, do no include the JQueryUI JavaScript and CSS files. Defaults to true.
        Returns:
        This for chaining.
      • useResponseJs

        public XFormIncludesBuilder useResponseJs​(boolean useResponseJs)
        Parameters:
        useResponseJs - If false, do not include the reponse.js file. Defaults to true.
        Returns:
        This for chaining.
      • buildJsIncludes

        public List<String> buildJsIncludes()
      • buildCssIncludes

        public List<String> buildCssIncludes()