Class Template

  • All Implemented Interfaces:
    Serializable

    public class Template
    extends BaseObject
    implements Serializable
    A Template references a XSL stylesheet, located either in the folder /xsl of a appNG-template or of a appNG-application.
    See Also:
    Serialized Form
    • Field Detail

      • outputType

        protected String outputType
      • deleteIncludes

        protected Boolean deleteIncludes
    • Constructor Detail

      • Template

        public Template()
    • Method Detail

      • getPath

        public String getPath()
        The path to the template resource, relative to /xsl of the appNG-template or -application.
        Returns:
        possible object is String
      • setPath

        public void setPath​(String value)
        Sets the value of the path property.
        Parameters:
        value - allowed object is String
      • getOutputType

        public String getOutputType()
        When defining custom templates in a(n) Event/Action/Datasource, use this attribute to determine the OutputType this template should apply to. If empty, the template is being applied to any output-type.
        Returns:
        possible object is String
      • setOutputType

        public void setOutputType​(String value)
        Sets the value of the outputType property.
        Parameters:
        value - allowed object is String
      • getType

        public String getType()
        The type of the template. Currently, only 'master' is allowed as a value for the master stylesheet of an appNG template.
        Returns:
        possible object is String
      • setType

        public void setType​(String value)
        Sets the value of the type property.
        Parameters:
        value - allowed object is String
      • isDeleteIncludes

        public Boolean isDeleteIncludes()
        If set to true, possibly existing <xsl:include> statements will be removed from the master template.
        Returns:
        possible object is Boolean
      • setDeleteIncludes

        public void setDeleteIncludes​(Boolean value)
        Sets the value of the deleteIncludes property.
        Parameters:
        value - allowed object is Boolean