org.mmbase.bridge.jsp.taglib
Class FieldTag

java.lang.Object
  |
  +--javax.servlet.jsp.tagext.TagSupport
        |
        +--javax.servlet.jsp.tagext.BodyTagSupport
              |
              +--org.mmbase.bridge.jsp.taglib.ContextReferrerTag
                    |
                    +--org.mmbase.bridge.jsp.taglib.CloudReferrerTag
                          |
                          +--org.mmbase.bridge.jsp.taglib.NodeReferrerTag
                                |
                                +--org.mmbase.bridge.jsp.taglib.FieldTag
All Implemented Interfaces:
javax.servlet.jsp.tagext.BodyTag, java.io.Serializable, javax.servlet.jsp.tagext.Tag

public class FieldTag
extends NodeReferrerTag

The FieldTag can be used as a child of a 'NodeProvider' tag.

Author:
Michiel Meeuwissen
See Also:
Serialized Form

Field Summary
protected  Node node
           
 
Fields inherited from class org.mmbase.bridge.jsp.taglib.ContextReferrerTag
pageContextTag, referid
 
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_TAG
 
Fields inherited from interface javax.servlet.jsp.tagext.Tag
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
 
Constructor Summary
FieldTag()
           
 
Method Summary
protected  java.lang.String convert(java.lang.String s)
          Does something with the generated output.
 int doAfterBody()
          write the value of the field.
 int doStartTag()
           
 void setHead(java.lang.String h)
           
 void setName(java.lang.String n)
           
 
Methods inherited from class org.mmbase.bridge.jsp.taglib.NodeReferrerTag
findNodeProvider, setNode
 
Methods inherited from class org.mmbase.bridge.jsp.taglib.CloudReferrerTag
findCloudProvider, getCloudContext, getCloudProviderVar, setCloud
 
Methods inherited from class org.mmbase.bridge.jsp.taglib.ContextReferrerTag
findParentTag, findParentTag, getAttributeValue, getContextTag, getContextTag, getReferid, getReferIdValue, release, setContext, setPageContext, setReferid, stringSplitter, stringSplitter
 
Methods inherited from class javax.servlet.jsp.tagext.BodyTagSupport
doEndTag, doInitBody, getBodyContent, getPreviousOut, setBodyContent
 
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setParent, setValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.servlet.jsp.tagext.Tag
getParent, setParent
 

Field Detail

node

protected Node node
Constructor Detail

FieldTag

public FieldTag()
Method Detail

setName

public void setName(java.lang.String n)

setHead

public void setHead(java.lang.String h)

doStartTag

public int doStartTag()
               throws javax.servlet.jsp.JspTagException
Overrides:
doStartTag in class javax.servlet.jsp.tagext.BodyTagSupport

convert

protected java.lang.String convert(java.lang.String s)
                            throws javax.servlet.jsp.JspTagException
Does something with the generated output. This default implementation does nothing, but extending classes could override this function.

doAfterBody

public int doAfterBody()
                throws javax.servlet.jsp.JspTagException
write the value of the field.
Overrides:
doAfterBody in class javax.servlet.jsp.tagext.BodyTagSupport


MMBase 2001