Class ImportTag

  • All Implemented Interfaces:
    Tag

    public class ImportTag
    extends TagSupport
    Imports another script.

    By default, the imported script does not have access to the parent script's variable context. This behaviour may be modified using the inherit attribute.

    Version:
    $Revision: 155420 $
    Author:
    bob mcwhirter
    • Constructor Detail

      • ImportTag

        public ImportTag()
        Create a new Import tag.
    • Method Detail

      • isInherit

        public boolean isInherit()
        Returns:
        whether property inheritence is enabled
      • setInherit

        public void setInherit​(boolean inherit)
        Sets whether property inheritence is enabled or disabled
      • setUri

        public void setUri​(String uri)
        Sets the URI (relative URI or absolute URL) for the script to evaluate.
      • setFile

        public void setFile​(String file)
        Sets the file for the script to evaluate.
        Parameters:
        file - The file to set