org.apache.commons.jelly
Interface LocationAware

All Known Implementing Classes:
JellyException

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 Summary
 int getColumnNumber()
           
 java.lang.String getElementName()
           
 java.lang.String getFileName()
           
 int getLineNumber()
           
 void setColumnNumber(int columnNumber)
          Sets the column number of the tag
 void setElementName(java.lang.String elementName)
          Sets the element name which caused the problem
 void setFileName(java.lang.String fileName)
          Sets the Jelly file which caused the problem
 void setLineNumber(int lineNumber)
          Sets the line number of the tag
 

Method Detail

getLineNumber

public int getLineNumber()
Returns:
the line number of the tag

setLineNumber

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


getColumnNumber

public int getColumnNumber()
Returns:
the column number of the tag

setColumnNumber

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


getFileName

public java.lang.String getFileName()
Returns:
the Jelly file which caused the problem

setFileName

public void setFileName(java.lang.String fileName)
Sets the Jelly file which caused the problem


getElementName

public java.lang.String getElementName()
Returns:
the element name which caused the problem

setElementName

public void setElementName(java.lang.String elementName)
Sets the element name which caused the problem



Copyright © 2002-2006 Apache Software Foundation. All Rights Reserved.