Class Directive

    • Field Detail

      • BLOCK

        public static final int BLOCK
        Deprecated.
        Block directive indicator
        See Also:
        Constant Field Values
      • LINE

        public static final int LINE
        Deprecated.
        Line directive indicator
        See Also:
        Constant Field Values
    • Constructor Detail

      • Directive

        public Directive()
        Deprecated.
    • Method Detail

      • getName

        public abstract String getName()
        Deprecated.
        Return the name of this directive.
        Returns:
        The name of this directive.
      • getType

        public abstract int getType()
        Deprecated.
        Get the directive type BLOCK/LINE.
        Returns:
        The directive type BLOCK/LINE.
      • setLocation

        public void setLocation​(int line,
                                int column)
        Deprecated.
        Allows the template location to be set.
        Parameters:
        line -
        column -
      • setLocation

        public void setLocation​(int line,
                                int column,
                                String templateName)
        Deprecated.
        Allows the template location to be set.
        Parameters:
        line -
        column -
      • getLine

        public int getLine()
        Deprecated.
        for log msg purposes
        Returns:
        The current line for log msg purposes.
      • getColumn

        public int getColumn()
        Deprecated.
        for log msg purposes
        Returns:
        The current column for log msg purposes.
      • getTemplateName

        public String getTemplateName()
        Deprecated.
        Returns:
        The template file name this directive was defined in, or null if not defined in a file.
      • getScopeName

        public String getScopeName()
        Deprecated.
        Returns:
        the name to be used when a scope control is provided for this directive.
      • isScopeProvided

        public boolean isScopeProvided()
        Deprecated.
        Returns:
        true if there will be a scope control injected into the context when rendering this directive.