KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > sun > j2ee > blueprints > catalog > validator > BaseRenderer


1 /* Copyright 2004-2005 Sun Microsystems, Inc. All rights reserved. You may not modify, use, reproduce, or distribute this software except in compliance with the terms of the License at: http://developer.sun.com/berkeley_license.html
2 $Id: BaseRenderer.java,v 1.2 2005/03/23 14:49:21 jenniferb Exp $ */

3
4 package com.sun.j2ee.blueprints.catalog.validator;
5
6 import javax.faces.component.UIComponent;
7 import javax.faces.context.FacesContext;
8 import javax.faces.render.Renderer;
9
10 import java.io.IOException JavaDoc;
11 import java.util.Iterator JavaDoc;
12 import java.util.MissingResourceException JavaDoc;
13 import java.util.ResourceBundle JavaDoc;
14
15
16 /**
17
18  * <p>Convenient base class for <code>Renderer</code> implementations.</p>
19
20  */

21
22 public abstract class BaseRenderer extends Renderer {
23
24
25     public static final String JavaDoc BUNDLE_ATTR = "com.sun.faces.bundle";
26
27     /**
28      * Converts the component-generated client ID to a for suitable for
29      * transmission to the client.
30      * @param context the current <code>FacesContext</code> instance
31      * @param clientId the component's client ID
32      */

33     public String JavaDoc convertClientId(FacesContext context, String JavaDoc clientId) {
34         return clientId;
35     }
36
37 }
38
39
Popular Tags