|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.servlet.jsp.tagext.TagSupport
se.kmr.scam.web.taglib.lom.BasePropertyTag
se.kmr.scam.web.taglib.lom.TitleTag
Exposes the value of the Title property for a given Resource.
Field Summary | |
protected org.apache.log4j.Logger |
_log
|
Fields inherited from class javax.servlet.jsp.tagext.TagSupport |
id, pageContext |
Fields inherited from interface javax.servlet.jsp.tagext.IterationTag |
EVAL_BODY_AGAIN |
Fields inherited from interface javax.servlet.jsp.tagext.Tag |
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE |
Constructor Summary | |
TitleTag()
Constructor for the TitleTag object |
Method Summary | |
int |
doStartTag()
|
protected void |
exposeObject(RDFNode object)
Expose the object . |
protected String |
getLanguage()
Gets the value of the language attribute. |
protected Resource |
getSubject()
Gets the resource associated with the subject
attribute value. |
void |
setLanguage(String lang)
Sets the language attribute of the BaseTag object |
void |
setSubject(String subjectRef)
Sets the resource attribute of the BaseTag object |
void |
setVar(String var)
Sets the var attribute of the BaseTag object |
Methods inherited from class javax.servlet.jsp.tagext.TagSupport |
doAfterBody, doEndTag, findAncestorWithClass, getId, getParent, getValue, getValues, release, removeValue, setId, setPageContext, setParent, setValue |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected org.apache.log4j.Logger _log
Constructor Detail |
public TitleTag()
Method Detail |
public int doStartTag() throws JspException
JspException
public void setSubject(String subjectRef)
subjectRef
- The new subject valueprotected Resource getSubject() throws JspException
resource
associated with the subject
attribute value.
resource
associated with the
subject
attribute value.
JspException
- thrown in case of exception evaluating the
subject
attribute valuepublic void setVar(String var)
var
- The new var valuepublic void setLanguage(String lang)
lang
- The new lang valueprotected String getLanguage() throws JspException
JspException
- thrown in case of exception evaluating the
subject
attribute valueprotected void exposeObject(RDFNode object) throws JspException
var
attribute has been
defined will the object be exposed in page scope under this name,
otherwise will the object be printed on the page.
object
- The new object value
JspException
- thrown in case of exception printing the
object on the page.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |