Package org.zkoss.zkmax.xel.util
Class ExportedGetters
java.lang.Object
org.zkoss.zkmax.xel.util.ExportedGetters
Finds the getter of a bean property that can be invoked on an object whose
class is in a package its module does not export, such as
sun.util.calendar.ZoneInfo: the same getter as declared by a public
supertype in an exported package, such as TimeZone.
Available in ZK EE
It is used to implement an ExpressionFactory on top
of an evaluator that invokes the getter of the object's own class.
The users of XEL expressions rarely need to use this class.
- Since:
- 11.0.0
-
Method Summary
Modifier and TypeMethodDescriptionstatic MethodgetReadMethod(Class<?> cls, String property) Returns the getter of the given property that is declared by a public supertype in an exported package, or null if the class itself is in an exported package (so its own getter is accessible) or no such supertype declares the getter.
-
Method Details
-
getReadMethod
Returns the getter of the given property that is declared by a public supertype in an exported package, or null if the class itself is in an exported package (so its own getter is accessible) or no such supertype declares the getter.- Parameters:
cls- the class of the object to read the property fromproperty- the property name
-