net.sf.jameleon
Class LocationAwareTagSupport
java.lang.Object
org.apache.commons.jelly.TagSupport
net.sf.jameleon.LocationAwareTagSupport
- All Implemented Interfaces:
- LocationAware, Tag
- Direct Known Subclasses:
- AbstractTestCaseDocAttribute, JameleonTagSupport
public abstract class LocationAwareTagSupport
- extends TagSupport
- implements LocationAware
An abstract tag that is location aware.
In other words, it is a tag that is capable of recording where in a Jelly script a tag
is used which can aid debugging and tracing.
Methods inherited from class org.apache.commons.jelly.TagSupport |
findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, getBody, getBodyText, getBodyText, getContext, getParent, invokeBody, isEscapeText, isTrim, setBody, setContext, setEscapeText, setParent, setTrim, trimBody |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.apache.commons.jelly.Tag |
doTag |
lineNumber
protected int lineNumber
columnNumber
protected int columnNumber
scriptFileName
protected String scriptFileName
elementTagName
protected String elementTagName
LocationAwareTagSupport
public LocationAwareTagSupport()
getLineNumber
public int getLineNumber()
- Specified by:
getLineNumber
in interface LocationAware
- Returns:
- the line number of the tag
setLineNumber
public void setLineNumber(int lineNumber)
- Sets the line number of the tag
- Specified by:
setLineNumber
in interface LocationAware
getColumnNumber
public int getColumnNumber()
- Specified by:
getColumnNumber
in interface LocationAware
- Returns:
- the column number of the tag
setColumnNumber
public void setColumnNumber(int columnNumber)
- Sets the column number of the tag
- Specified by:
setColumnNumber
in interface LocationAware
getFileName
public String getFileName()
- Specified by:
getFileName
in interface LocationAware
- Returns:
- the Jelly file which caused the problem
setFileName
public void setFileName(String fileName)
- Sets the Jelly file which caused the problem
- Specified by:
setFileName
in interface LocationAware
getElementName
public String getElementName()
- Specified by:
getElementName
in interface LocationAware
- Returns:
- the element name which caused the problem
setElementName
public void setElementName(String elementName)
- Sets the element name which caused the problem
- Specified by:
setElementName
in interface LocationAware
Copyright © 2003-2008 Christian Hargraves. All Rights Reserved.