Package org.apache.commons.jelly
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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
getColumnNumber()
String
getElementName()
String
getFileName()
int
getLineNumber()
void
setColumnNumber(int columnNumber)
Sets the column number of the tagvoid
setElementName(String elementName)
Sets the element name which caused the problemvoid
setFileName(String fileName)
Sets the Jelly file which caused the problemvoid
setLineNumber(int lineNumber)
Sets the line number of the tag
-
-
-
Method Detail
-
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
-
-