|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.mmbase.bridge.jsp.taglib.NodeProviderHelper
public class NodeProviderHelper
| Field Summary | |
|---|---|
static String |
_NODE
|
(package private) boolean |
checked
|
static String |
STACK_ATTRIBUTE
|
| Constructor Summary | |
|---|---|
NodeProviderHelper(ContextReferrerTag thisTag)
|
|
| Method Summary | |
|---|---|
int |
doAfterBody()
Does everything needed on the afterbody tag of every NodeProvider. |
int |
doEndTag()
|
void |
doFinally()
|
void |
fillVars()
Fill the jsp and context vars |
Query |
getGeneratingQuery()
Returns a query which (a.o) results this Node. |
String |
getId()
|
Node |
getNodeVar()
For use by children, they can find the current 'node' belonging to this tag. |
(package private) static String |
getSimpleReturnValueName(String prefix,
String fieldName)
Generates the variable-name for a field. |
void |
setCommitonclose(String c)
Whether the node must be commited after the body of the tag if any changes occured |
void |
setGeneratingQuery(Query q)
|
void |
setJspvar(String jv)
NodeProviders support the jspvar attribute (giving a Node jsp var object). |
void |
setNodeVar(Node node)
Children can also directly access the node member, but the prefered method is to treat this variable as much as possible as private, and use this. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String STACK_ATTRIBUTE
public static final String _NODE
boolean checked
| Constructor Detail |
|---|
public NodeProviderHelper(ContextReferrerTag thisTag)
| Method Detail |
|---|
public void setJspvar(String jv)
NodeProvider
setJspvar in interface NodeProvider
public void setCommitonclose(String c)
throws JspTagException
NodeProvider
setCommitonclose in interface NodeProviderJspTagExceptionpublic Node getNodeVar()
getNodeVar in interface NodeProviderpublic void setNodeVar(Node node)
public void setGeneratingQuery(Query q)
public Query getGeneratingQuery()
throws JspTagException
NodeProvider
getGeneratingQuery in interface NodeProviderJspTagExceptionpublic String getId()
getId in interface TagIdentifier
public void fillVars()
throws JspTagException
JspTagException
static String getSimpleReturnValueName(String prefix,
String fieldName)
prefix - A prefix to use. Can be null.fieldName - The name of the field.
public int doAfterBody()
throws JspTagException
JspTagException
public int doEndTag()
throws JspTagException
JspTagExceptionpublic void doFinally()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||