|
||||||||||
| 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.log.LogTagSupport
An abstract base class for any logging tag..
| Field Summary | |
private boolean |
encode
|
private org.apache.commons.logging.Log |
log
|
| Fields inherited from class org.apache.commons.jelly.TagSupport |
body, context, hasTrimmed, parent, shouldTrim |
| Constructor Summary | |
LogTagSupport()
|
|
| Method Summary | |
org.apache.commons.logging.Log |
getLog()
|
boolean |
isEncode()
Returns whether the body of this tag will be XML encoded or not. |
void |
setEncode(boolean encode)
Sets whether the body of the tag should be encoded as text (so that < and > are encoded as < and >) or leave the text as XML which is the default. |
void |
setLog(org.apache.commons.logging.Log log)
Sets the Log instance to use for logging. |
void |
setName(java.lang.String name)
Sets the name of the logger to use |
| 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 |
| Field Detail |
private org.apache.commons.logging.Log log
private boolean encode
| Constructor Detail |
public LogTagSupport()
| Method Detail |
public org.apache.commons.logging.Log getLog()
public void setName(java.lang.String name)
public void setLog(org.apache.commons.logging.Log log)
public boolean isEncode()
public void setEncode(boolean encode)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||