|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.commons.jelly.TagSupport
org.apache.commons.jelly.tags.bsf.ScriptTag
public class ScriptTag
A tag which evaluates its body using the current scripting language
Field Summary | |
---|---|
private int |
columnNumber
|
private java.lang.String |
elementName
|
private org.apache.bsf.BSFEngine |
engine
|
private java.lang.String |
fileName
|
private int |
lineNumber
|
private static org.apache.commons.logging.Log |
log
The Log to which logging calls will be made. |
private org.apache.bsf.BSFManager |
manager
|
Fields inherited from class org.apache.commons.jelly.TagSupport |
---|
body, context, hasTrimmed, parent, shouldTrim |
Constructor Summary | |
---|---|
ScriptTag(org.apache.bsf.BSFEngine engine,
org.apache.bsf.BSFManager manager)
|
Method Summary | |
---|---|
void |
doTag(org.apache.commons.jelly.XMLOutput output)
|
int |
getColumnNumber()
|
java.lang.String |
getElementName()
|
org.apache.bsf.BSFEngine |
getEngine()
|
java.lang.String |
getFileName()
|
int |
getLineNumber()
|
private JellyContextRegistry |
getRegistry()
|
void |
setColumnNumber(int columnNumber)
Sets the columnNumber. |
void |
setElementName(java.lang.String elementName)
Sets the elementName. |
void |
setEngine(org.apache.bsf.BSFEngine engine)
Sets the engine. |
void |
setFileName(java.lang.String fileName)
Sets the fileName. |
void |
setLineNumber(int lineNumber)
Sets the lineNumber. |
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 |
Field Detail |
---|
private static final org.apache.commons.logging.Log log
private org.apache.bsf.BSFEngine engine
private org.apache.bsf.BSFManager manager
private java.lang.String elementName
private java.lang.String fileName
private int columnNumber
private int lineNumber
Constructor Detail |
---|
public ScriptTag(org.apache.bsf.BSFEngine engine, org.apache.bsf.BSFManager manager)
Method Detail |
---|
public void doTag(org.apache.commons.jelly.XMLOutput output) throws org.apache.commons.jelly.MissingAttributeException, org.apache.commons.jelly.JellyTagException
doTag
in interface org.apache.commons.jelly.Tag
org.apache.commons.jelly.MissingAttributeException
org.apache.commons.jelly.JellyTagException
public int getColumnNumber()
getColumnNumber
in interface org.apache.commons.jelly.LocationAware
public java.lang.String getElementName()
getElementName
in interface org.apache.commons.jelly.LocationAware
public org.apache.bsf.BSFEngine getEngine()
public java.lang.String getFileName()
getFileName
in interface org.apache.commons.jelly.LocationAware
public int getLineNumber()
getLineNumber
in interface org.apache.commons.jelly.LocationAware
public void setColumnNumber(int columnNumber)
setColumnNumber
in interface org.apache.commons.jelly.LocationAware
columnNumber
- The columnNumber to setpublic void setElementName(java.lang.String elementName)
setElementName
in interface org.apache.commons.jelly.LocationAware
elementName
- The elementName to setpublic void setEngine(org.apache.bsf.BSFEngine engine)
engine
- The engine to setpublic void setFileName(java.lang.String fileName)
setFileName
in interface org.apache.commons.jelly.LocationAware
fileName
- The fileName to setpublic void setLineNumber(int lineNumber)
setLineNumber
in interface org.apache.commons.jelly.LocationAware
lineNumber
- The lineNumber to setprivate JellyContextRegistry getRegistry()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |