KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > mmbase > bridge > jsp > taglib > FieldProvider


1 /*
2
3 This software is OSI Certified Open Source Software.
4 OSI Certified is a certification mark of the Open Source Initiative.
5
6 The license (Mozilla version 1.0) can be read at the MMBase site.
7 See http://www.MMBase.org/license
8
9 */

10 package org.mmbase.bridge.jsp.taglib;
11 import javax.servlet.jsp.JspTagException JavaDoc;
12
13 import org.mmbase.bridge.Field;
14 import org.mmbase.bridge.Node;
15 /**
16  * Interface designed to make it possible for child tags
17  * to access a field defined in a tag.
18  *
19  * @author Michiel Meeuwissen
20  * @version $Id: FieldProvider.java,v 1.5 2006/04/29 17:15:57 michiel Exp $
21  */

22 public interface FieldProvider extends TagIdentifier {
23     // Since a field cannot exist alone, it must also implement NodeProvider.
24
// To get the value of a field, you always need a Node too. A 'Field' is only
25
// a description.
26
/**
27      * @return the field contained in the tag
28      *
29      */

30     public Field getFieldVar() throws JspTagException JavaDoc;
31
32     public Node getNodeVar() throws JspTagException JavaDoc;
33
34
35     
36 }
37
Popular Tags