KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > apache > taglibs > standard > lang > jpath > expression > Introspectable


1 /*
2  * Copyright 1999,2004 The Apache Software Foundation.
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */

16
17 package org.apache.taglibs.standard.lang.jpath.expression;
18
19 import javax.servlet.jsp.PageContext JavaDoc;
20
21 import org.apache.taglibs.standard.lang.jpath.adapter.IterationContext;
22
23 /**
24  * The Introspectable interface
25  *
26  *
27  * @author <a HREF='mailto:scott.hasse@isthmusgroup.com'>Scott Hasse</a>
28  * @version 0.9
29  */

30 public interface Introspectable {
31
32     /**
33      * The evaluate method
34      *
35      *
36      * @param pageContext
37      * @param icontext
38      * @param parent
39      *
40      * @return
41      *
42      * @throws EvaluationException
43      *
44      */

45     public Object JavaDoc evaluate(
46         PageContext JavaDoc pageContext, IterationContext icontext, Object JavaDoc parent)
47             throws EvaluationException;
48
49     /**
50      * The evaluate method
51      *
52      *
53      * @param pageContext
54      * @param icontext
55      * @param scope
56      *
57      * @return
58      *
59      * @throws EvaluationException
60      *
61      */

62     public Object JavaDoc evaluate(
63         PageContext JavaDoc pageContext, IterationContext icontext, int scope)
64             throws EvaluationException;
65 }
66
Popular Tags