|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.servlet.jsp.tagext.TagSupport
javax.servlet.jsp.tagext.BodyTagSupport
se.kmr.scam.web.taglib.common.BodyTagSupport
se.kmr.scam.web.taglib.common.BasePropertyTag
An abstract class for exposing the value of a property. (The property value is exopsed as a java.lang.String)
Field Summary | |
protected Object |
_currentObject
|
protected String |
_default
|
protected String |
_delimiter
|
protected Iterator |
_iterator
|
protected String |
_lang
|
protected int |
_maxSize
|
protected int |
_maxSizeTot
|
protected List |
_values
|
protected String |
default_
|
protected String |
delimiter_
|
protected String |
lang_
|
protected String |
maxSize_
|
protected String |
maxSizeTot_
|
Fields inherited from class javax.servlet.jsp.tagext.BodyTagSupport |
bodyContent |
Fields inherited from class javax.servlet.jsp.tagext.TagSupport |
id, pageContext |
Fields inherited from interface javax.servlet.jsp.tagext.BodyTag |
EVAL_BODY_BUFFERED, EVAL_BODY_TAG |
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 | |
BasePropertyTag()
|
Method Summary | |
int |
doAfterBody()
Recives notification after body evaluation |
int |
doEndTag()
Receives notification at end of tag. |
int |
doStartTag()
Recives notification of the start of a tag. |
protected void |
exposeValues()
Expose all values on the page. |
Object |
getCurrentObject()
Gets current object in the iteration |
boolean |
getHasMore()
determines if there are more elements in the iterator. |
String |
getLanguage()
Gets the value of the language attribute. |
abstract List |
getValueNodes()
Gets the property value that the implementation represents. |
protected boolean |
info()
|
void |
release()
Release allocated resources. |
void |
setDefault(String def)
|
void |
setDelimiter(String delimiter)
Sets the delimiter attribute of the BaseTag object |
void |
setLanguage(String lang)
Sets the language attribute of the BaseTag object |
void |
setMaxSize(String size)
Sets the maxSize attribute of the BaseTag object |
void |
setMaxSizeTot(String size)
Sets the maxSizeTot attribute of the BaseTag object |
String |
toString()
|
Methods inherited from class se.kmr.scam.web.taglib.common.BodyTagSupport |
escape, exposeObject, exposeTag, getSubjectAsResource, getVar, printObject, removeObject, removeTag, setSubject, setVar |
Methods inherited from class javax.servlet.jsp.tagext.BodyTagSupport |
doInitBody, getBodyContent, getPreviousOut, setBodyContent |
Methods inherited from class javax.servlet.jsp.tagext.TagSupport |
findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValue |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface javax.servlet.jsp.tagext.Tag |
getParent, setPageContext, setParent |
Field Detail |
protected String _lang
protected String lang_
protected String _delimiter
protected String delimiter_
protected String _default
protected String default_
protected String maxSize_
protected int _maxSize
protected String maxSizeTot_
protected int _maxSizeTot
protected List _values
protected Iterator _iterator
protected Object _currentObject
Constructor Detail |
public BasePropertyTag()
Method Detail |
public void setLanguage(String lang)
lang
- The new lang valuepublic String getLanguage()
public void setDelimiter(String delimiter)
delimiter
- The new delimiter valuepublic void setMaxSize(String size)
size
- The new maxSize valuepublic void setMaxSizeTot(String size)
size
- The new maxSizeTot valuepublic Object getCurrentObject()
public boolean getHasMore()
public void setDefault(String def)
public int doStartTag() throws JspException
JspException
- thrown in case of exception writing to the page
or extracting property value.public int doAfterBody()
public int doEndTag() throws JspException
JspException
- is thrown in case of exception exposing the valuespublic void release()
release
in interface Tag
release
in class BodyTagSupport
public abstract List getValueNodes() throws RDFException, JspException
RDFException
- thrown in case of exception extracting property value
JspException
- thrown in case of internal exception.protected void exposeValues() throws JspException
JspException
protected boolean info()
public String toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |