01: /*
02: * Copyright 2002 Sun Microsystems, Inc. All
03: * rights reserved. Use of this product is subject
04: * to license terms. Federal Acquisitions:
05: * Commercial Software -- Government Users
06: * Subject to Standard License Terms and
07: * Conditions.
08: *
09: * Sun, Sun Microsystems, the Sun logo, and Sun ONE
10: * are trademarks or registered trademarks of Sun Microsystems,
11: * Inc. in the United States and other countries.
12: */
13:
14: package com.sun.portal.portlet.taglib;
15:
16: import javax.servlet.jsp.tagext.TagData;
17: import javax.servlet.jsp.tagext.TagExtraInfo;
18: import javax.servlet.jsp.tagext.VariableInfo;
19:
20: public class DefineObjectsTagExtraInfo extends TagExtraInfo {
21:
22: public VariableInfo[] getVariableInfo(TagData data) {
23:
24: VariableInfo[] vInfos = new VariableInfo[3];
25:
26: vInfos[0] = new VariableInfo(
27: PortletTaglibConstants.RENDER_REQUEST_VAR,
28: "javax.portlet.RenderRequest", true,
29: VariableInfo.AT_END);
30: vInfos[1] = new VariableInfo(
31: PortletTaglibConstants.RENDER_RESPONSE_VAR,
32: "javax.portlet.RenderResponse", true,
33: VariableInfo.AT_END);
34: vInfos[2] = new VariableInfo(
35: PortletTaglibConstants.PORTLET_CONFIG_VAR,
36: "javax.portlet.PortletConfig", true,
37: VariableInfo.AT_END);
38:
39: return vInfos;
40: }
41: }
|