KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > apache > myfaces > wap > def > OutputText


1 /*
2  * Copyright 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 package org.apache.myfaces.wap.def;
17
18 /**
19  * If the "styleClass" attribute is present, render its value as the value of the "class" attribute. If the "escape" attribute is not present, or it is present and its value is "true" all angle brackets should be converted to the ampersand xx semicolon syntax when rendering the value of the "value" attribute as the value of the component. If the "escape" attribute is present and is "false" the value of the component should be rendered as text without escaping.
20  *
21  * @wapfaces.tag
22  * componentFamily="UIOutput"
23  * rendererType="OutputTextRenderer"
24  * tagName="outputText"
25  * tagBaseClass="org.apache.myfaces.wap.base.ValueHolderTagBase"
26  * bodyContent="JSP"
27  *
28  * @author <a HREF="mailto:Jiri.Zaloudek@ivancice.cz">Jiri Zaloudek</a> (latest modification by $Author: matzew $)
29  * @version $Revision: 1.1 $ $Date: 2004/12/30 09:37:25 $
30  * $Log: OutputText.java,v $
31  * Revision 1.1 2004/12/30 09:37:25 matzew
32  * added a new RenderKit for WML. Thanks to Jirí Žaloudek
33  *
34  */

35
36
37 public class OutputText extends javax.faces.component.UIOutput {
38
39     /**
40      * Flag indicating that characters that are sensitive in WML and XML markup must be escaped. This flag is set to "true" by default.
41      *
42      * @wapfaces.attribute
43      * valueBinding="true"
44      * initValue="true"
45      */

46     boolean escape;
47
48     /**
49      * CSS style(s) to be applied when this component is rendered.
50      *
51      * @wapfaces.attribute
52      * valueBinding="true"
53      */

54     //java.lang.String style;
55

56     /**
57      * Space-separated list of style class(es) to be applied when this element is rendered. This value must be passed through as the "class" attribute on generated markup.
58      *
59      * @wapfaces.attribute
60      * valueBinding="true"
61      */

62     //java.lang.String styleClass;
63

64     
65     // ============= ABSTARACT ATTRIBUTES ======================================
66
/**
67      * The component identifier for the associated component.
68      *
69      * @wapfaces.attribute
70      * abstract="true"
71      * inherit="true"
72      */

73     java.lang.String JavaDoc id;
74     
75     /**
76      * Flag indicating whether or not this component should be rendered (during Render Response Phase), or processed on any subsequent form submit.
77      *
78      * @wapfaces.attribute
79      * abstract="true"
80      * inherit="true"
81      */

82     boolean rendered;
83         
84     /**
85      * The value binding expression linking this component to a property in a backing bean.
86      *
87      * @wapfaces.attribute
88      * abstract="true"
89      * inherit="true"
90      */

91     java.lang.String JavaDoc binding;
92
93     /**
94      * Converter instance registered with this component.
95      *
96      * @wapfaces.attribute
97      * abstract="true"
98      * inherit="true"
99      */

100     java.lang.String JavaDoc converter;
101
102     /**
103      * The current value of this component.
104      *
105      * @wapfaces.attribute
106      * inherit="true"
107      * abstract="true"
108      */

109     java.lang.Object JavaDoc value;
110 }
111
Popular Tags