Interface SilverpeasTemplate

    • Method Detail

      • mergeRootWithCustom

        SilverpeasTemplate mergeRootWithCustom()
        When the result of string template processing is built from a combination of several template files, this method MUST be called BEFORE calling applyFileTemplate(String).

        It is in charge of merging the templates given by the product and the one modified by the customer. By this way, the customer modifies only the necessary templates in case of customization.

        Returns:
        itself.
      • setAttribute

        void setAttribute​(String name,
                          Object value)
      • applyFileTemplate

        String applyFileTemplate​(String fileName)
      • applyFileTemplateOnComponent

        String applyFileTemplateOnComponent​(String componentName,
                                            String fileName)
      • isCustomTemplateExists

        boolean isCustomTemplateExists​(String componentName,
                                       String fileName)
      • applyStringTemplate

        String applyStringTemplate​(String label)