public class ContentTag extends BaseOutputProducingTag implements Function<Object,String>
Note: Only outputs first element of collection.
Modifier and Type | Field and Description |
---|---|
protected String |
strifyCN |
contextTag, escapeEntities, numberOfElements, suppressEmptyCollection, variableName
Constructor and Description |
---|
ContentTag() |
Modifier and Type | Method and Description |
---|---|
String |
apply(Object object)
PRIVATE: Included to implement StringifierIF interface.
|
void |
generateOutput(javax.servlet.jsp.JspWriter out,
Iterator iter)
INTERNAL: Generate information extracted from the input collection
provided access by specified iterator.
|
void |
setStringifier(String strifyCN)
Tag attribute for setting the stringifier to be used when
producing the string from the selected object.
|
doEndTag, doStartTag, getCollectionSize, print2Writer, release, setOf
doAfterBody, findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValue
protected String strifyCN
public final void generateOutput(javax.servlet.jsp.JspWriter out, Iterator iter) throws javax.servlet.jsp.JspTagException, IOException
OutputProducingTagIF
JspWriter
object.generateOutput
in interface OutputProducingTagIF
generateOutput
in class BaseOutputProducingTag
javax.servlet.jsp.JspTagException
IOException
public final void setStringifier(String strifyCN)