|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.faces.component.UIComponentBase
javax.faces.component.UIOutput
UIOutput is a UIComponent that displays
output to the user. The user cannot manipulate this component; it is
for display purposes only. There are no restrictions on the data type
of the local value, or the object referenced by the value reference
expression (if any); however, individual
Renderers will
generally impose restrictions on the type of data they know how to
display.
By default, the rendererType property is set to
"Text". This value can be changed by calling the
setRendererType() method.
| Field Summary |
| Fields inherited from interface javax.faces.component.UIComponent |
SEPARATOR_CHAR |
| Constructor Summary | |
UIOutput()
Create a new UIOutput instance with default property
values. |
|
| Method Summary | |
java.lang.Object |
currentValue(FacesContext context)
Evaluate and return the current value of this component, according to the following algorithm. |
java.lang.Object |
getValue()
Return the local value of this UIInput component. |
java.lang.String |
getValueRef()
Return the value reference expression for this UIInput
component, pointing at the model tier property that will be updated
or rendered. |
void |
setValue(java.lang.Object value)
Set the local value of this UIInput component. |
void |
setValueRef(java.lang.String valueRef)
Set the value reference expression for this UIInput
component, pointing at the model tier property that will be updated
or rendered. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public UIOutput()
Create a new UIOutput instance with default property
values.
| Method Detail |
public java.lang.Object getValue()
Return the local value of this UIInput component.
public void setValue(java.lang.Object value)
Set the local value of this UIInput component.
value - The new local valuepublic java.lang.String getValueRef()
Return the value reference expression for this UIInput
component, pointing at the model tier property that will be updated
or rendered.
public void setValueRef(java.lang.String valueRef)
Set the value reference expression for this UIInput
component, pointing at the model tier property that will be updated
or rendered.
valueRef - The new value reference expressionpublic java.lang.Object currentValue(FacesContext context)
Evaluate and return the current value of this component, according to the following algorithm.
value property has been set (containing
the local value for this component), return that; elsevalueRef property has been set,
Application instance for this web
application from ApplicationFactory.ValueBinding for the valueRef
expression.getValue() method of the
ValueBinding to retrieve the value that the
value reference expression points at.null.
context - FacesContext within which to evaluate the value
reference expression, if necessary
EvaluationException - if a problem occurs evaluating
the value reference expression
java.lang.NullPointerException - if context
is null
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||