|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.myfaces.trinidadinternal.ui.data.bind.OrBoundValue
public class OrBoundValue
BoundValue that returns Boolean.TRUE
if either passed
in BoundValues return Boolean.TRUE
and returns
Boolean.FALSE
otherwise.
Short circuiting is supported, so that if the first BoudnValue
returns Boolean.TRUE
, the value of the second
BoundValue will never be requested.
Constructor Summary | |
---|---|
OrBoundValue(BoundValue[] values)
Creates a OrBoundValue. |
|
OrBoundValue(BoundValue value1,
BoundValue value2)
Creates an OrBoundValue. |
Method Summary | |
---|---|
java.lang.Object |
getValue(UIXRenderingContext context)
Called to retrieve a value based on the current rendering context. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public OrBoundValue(BoundValue value1, BoundValue value2)
Boolean.FALSE
.
value1
- first BoundValue to OR the result ofvalue2
- second BoundValue to Or the result of.public OrBoundValue(BoundValue[] values)
Boolean.FALSE
.
values
- array of BoundValues to OR the result ofMethod Detail |
---|
public java.lang.Object getValue(UIXRenderingContext context)
BoundValue
getValue
in interface BoundValue
context
- the rendering context
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |