Class IncludeTag

java.lang.Object
org.apache.commons.jelly.TagSupport
org.apache.commons.jelly.tags.core.IncludeTag
All Implemented Interfaces:
Tag

public class IncludeTag extends TagSupport
A tag which conditionally evaluates its body based on some condition
Version:
$Revision: 155420 $
Author:
James Strachan
  • Constructor Details

    • IncludeTag

      public IncludeTag()
  • Method Details

    • setInherit

      public void setInherit(String inherit)
    • setExport

      public void setExport(String export)
    • isInherit

      public boolean isInherit()
    • isExport

      public boolean isExport()
    • getFile

      public File getFile()
      Returns:
    • setFile

      public void setFile(File file)
      Sets the file to be included which is either an absolute file or a file relative to the current directory
    • doTag

      public void doTag(XMLOutput output) throws MissingAttributeException, JellyTagException
      Description copied from interface: Tag
      Evaluates this tag after all the tags properties have been initialized.
      Throws:
      MissingAttributeException
      JellyTagException
    • setUri

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