01: /**
02: * Licensed under the Common Development and Distribution License,
03: * you may not use this file except in compliance with the License.
04: * You may obtain a copy of the License at
05: *
06: * http://www.sun.com/cddl/
07: *
08: * Unless required by applicable law or agreed to in writing, software
09: * distributed under the License is distributed on an "AS IS" BASIS,
10: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
11: * implied. See the License for the specific language governing
12: * permissions and limitations under the License.
13: */package com.sun.facelets;
14:
15: import java.io.IOException;
16:
17: import javax.el.ELException;
18: import javax.faces.FacesException;
19: import javax.faces.component.UIComponent;
20:
21: /**
22: * A participant in UIComponent tree building
23: *
24: * @author Jacob Hookom
25: * @version $Id: FaceletHandler.java,v 1.2 2005/08/24 04:38:59 jhook Exp $
26: */
27: public interface FaceletHandler {
28:
29: /**
30: * Process changes on a particular UIComponent
31: *
32: * @param ctx the current FaceletContext instance for this execution
33: * @param parent the parent UIComponent to operate upon
34: * @throws IOException
35: * @throws FacesException
36: * @throws FaceletException
37: * @throws ELException
38: */
39: public void apply(FaceletContext ctx, UIComponent parent)
40: throws IOException, FacesException, FaceletException,
41: ELException;
42: }
|