org.mmbase.bridge.jsp.taglib
Class FieldListTag

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.FieldListTag
All Implemented Interfaces:
javax.servlet.jsp.tagext.BodyTag, ListItemInfo, NodeProvider, java.io.Serializable, javax.servlet.jsp.tagext.Tag, TagIdentifier

public class FieldListTag
extends NodeReferrerTag
implements ListItemInfo, NodeProvider

This class makes a tag which can list the fields of a NodeManager.

Author:
Michiel Meeuwissen
See Also:
Serialized Form

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
FieldListTag()
           
 
Method Summary
 int doAfterBody()
           
 void doInitBody()
           
 int doStartTag()
           
 Field getField()
           
 int getIndex()
           
 NodeProvider getNodeProvider()
           
 Node getNodeVar()
           
 boolean isChanged()
           
 void setNodetype(java.lang.String t)
           
 void setType(java.lang.String t)
           
 int size()
           
 
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, 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 org.mmbase.bridge.jsp.taglib.TagIdentifier
getId
 
Methods inherited from interface javax.servlet.jsp.tagext.Tag
getParent, setParent
 

Constructor Detail

FieldListTag

public FieldListTag()
Method Detail

size

public int size()
Specified by:
size in interface ListItemInfo
Following copied from interface: org.mmbase.bridge.jsp.taglib.ListItemInfo
Returns:
the size of the list

getIndex

public int getIndex()
Specified by:
getIndex in interface ListItemInfo
Following copied from interface: org.mmbase.bridge.jsp.taglib.ListItemInfo
Returns:
the index of the current item in a list

isChanged

public boolean isChanged()
Specified by:
isChanged in interface ListItemInfo
Following copied from interface: org.mmbase.bridge.jsp.taglib.ListItemInfo
Returns:
a boolean indicating wether the field on which was sorted is changed.

getField

public Field getField()

setNodetype

public void setNodetype(java.lang.String t)
                 throws javax.servlet.jsp.JspTagException

setType

public void setType(java.lang.String t)
             throws javax.servlet.jsp.JspTagException

getNodeProvider

public NodeProvider getNodeProvider()

getNodeVar

public Node getNodeVar()
                throws javax.servlet.jsp.JspTagException
Specified by:
getNodeVar in interface NodeProvider
Following copied from interface: org.mmbase.bridge.jsp.taglib.NodeProvider
Returns:
the node contained in the tag NOTE: we have decided to call this methid getNodeVar because we use tag attributes with name "node" and type String

doStartTag

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

doAfterBody

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

doInitBody

public void doInitBody()
                throws javax.servlet.jsp.JspTagException
Overrides:
doInitBody in class javax.servlet.jsp.tagext.BodyTagSupport


MMBase 2001