Interface LocationAware

All Known Implementing Classes:
BreakException, JellyException, JellyTagException, MissingAttributeException

public interface LocationAware

LocationAware represents a Tag or Exception which is location aware. That is to say it is capable of recording where in a Jelly script a tag or exception is used which can aid debugging and tracing.

Version:
$Revision: 155420 $
Author:
James Strachan
  • Method Details

    • getLineNumber

      int getLineNumber()
      Returns:
      the line number of the tag
    • setLineNumber

      void setLineNumber(int lineNumber)
      Sets the line number of the tag
    • getColumnNumber

      int getColumnNumber()
      Returns:
      the column number of the tag
    • setColumnNumber

      void setColumnNumber(int columnNumber)
      Sets the column number of the tag
    • getFileName

      String getFileName()
      Returns:
      the Jelly file which caused the problem
    • setFileName

      void setFileName(String fileName)
      Sets the Jelly file which caused the problem
    • getElementName

      String getElementName()
      Returns:
      the element name which caused the problem
    • setElementName

      void setElementName(String elementName)
      Sets the element name which caused the problem