Interface IncludeTag

    • Field Detail

      • TAG_NAME_INCLUDE

        static final java.lang.String TAG_NAME_INCLUDE
        The constant name of the IncludeTag.
        See Also:
        Constant Field Values
      • ATTR_NAME_FILE_NAME

        static final java.lang.String ATTR_NAME_FILE_NAME
        The constant name of the attribute file. The value is the location of a layout template file
        See Also:
        Constant Field Values
    • Method Detail

      • getFileName

        java.lang.String getFileName()
        Returns the location of the file It is actually the value of the attribute ATTR_NAME_FILE_NAME.
        Returns:
        the value of the attribute ATTR_NAME_FILE_NAME.
      • getTemplateContent

        LayoutTag getTemplateContent()
        Returns the tree representation of the included template source
        Returns:
        LayoutTag
      • populateTemplate

        void populateTemplate​(java.lang.String fileName,
                              LayoutSource layoutSource,
                              LayoutParser layoutParser)
        Retrieves the content of the included external file and sets the content on the tag
        Parameters:
        fileName - - The location of the external file
        layoutSource - - The layoutSource to load the external file
        layoutParser - - The layoutParser to parse the external file