From 33613a85afc4b1481367fbe92a17ee59c240250b Mon Sep 17 00:00:00 2001 From: Sven Eisenhauer Date: Fri, 10 Nov 2023 15:11:48 +0100 Subject: add new repo --- .../quasar/client/jsf/binding/ValueResolver.html | 320 +++++++++++++++++++++ 1 file changed, 320 insertions(+) create mode 100644 Master/Reference Architectures and Patterns/labs/QuasarClient/api/com/sdm/quasar/client/jsf/binding/ValueResolver.html (limited to 'Master/Reference Architectures and Patterns/labs/QuasarClient/api/com/sdm/quasar/client/jsf/binding/ValueResolver.html') diff --git a/Master/Reference Architectures and Patterns/labs/QuasarClient/api/com/sdm/quasar/client/jsf/binding/ValueResolver.html b/Master/Reference Architectures and Patterns/labs/QuasarClient/api/com/sdm/quasar/client/jsf/binding/ValueResolver.html new file mode 100644 index 0000000..bb651a0 --- /dev/null +++ b/Master/Reference Architectures and Patterns/labs/QuasarClient/api/com/sdm/quasar/client/jsf/binding/ValueResolver.html @@ -0,0 +1,320 @@ + + + + + + +ValueResolver (Quasar Client Building Blicks API) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.sdm.quasar.client.jsf.binding +
+Interface ValueResolver

+
+
+
public interface ValueResolver
+ +

+The ValueResolver defines the data binding to an object + that is not resolved by JSF (e.g. a data manager). + It encapsulates the access to a value referenced by a keyword. +

+ +

+

+
Author:
+
Martin Haft
+
+
+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ booleancanModifyValue(java.lang.String keyword) + +
+           
+ java.lang.ObjectgetValue(java.lang.String keyword) + +
+          Resolves the keyword to its referenced value.
+ java.lang.ClassgetValueType(java.lang.String keyword) + +
+           
+ booleanhasValue(java.lang.String keyword) + +
+          Checks, if this ValueResolver can resolve the given keyword.
+ voidsetValue(java.lang.String keyword, + java.lang.Object value) + +
+          Sets a new value for the referenced keyword
+  +

+ + + + + + + + + + + + + + +
+Method Detail
+ +

+hasValue

+
+public boolean hasValue(java.lang.String keyword)
+
+
Checks, if this ValueResolver can resolve the given keyword. +

+

+
Parameters:
keyword - the keyword to be resolved +
Returns:
true, iff the keyword can be resolved
+
+
+
+ +

+getValueType

+
+public java.lang.Class getValueType(java.lang.String keyword)
+
+
+
Parameters:
keyword - the keyword to be resolve +
Returns:
the class of the resolved value +
Throws: +
java.lang.RuntimeException - if the keyword can not be resolved by this. + Use #canResolve(String) to check.
+
+
+
+ +

+getValue

+
+public java.lang.Object getValue(java.lang.String keyword)
+
+
Resolves the keyword to its referenced value. +

+

+
Parameters:
keyword - the keyword to be resolve +
Returns:
the resolved object +
Throws: +
java.lang.RuntimeException - if the keyword can not be resolved by this. + Use #canResolve(String) to check.
+
+
+
+ +

+canModifyValue

+
+public boolean canModifyValue(java.lang.String keyword)
+
+
+
Parameters:
keyword - the keyword to be resolve +
Returns:
true, if the value, referenced by the keyword, can be modified
+
+
+
+ +

+setValue

+
+public void setValue(java.lang.String keyword,
+                     java.lang.Object value)
+
+
Sets a new value for the referenced keyword +

+

+
Parameters:
keyword - the keyword to be resolve
value - the new value +
Throws: +
java.lang.RuntimeException - if the keyword can not be resolved by this + or the value can not be modified. + Use #canResolve(String) or canModifyValue(String) to check.
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + -- cgit v1.2.3