Construct a UniversalExtractor based on a name and optional parameters.
If name does not end in ()
, this extractor is a property extractor.
If name
is prefixed with one of set
or get
and ends in ()
,
this extractor is a property extractor. If the name
just ends in ()
, this extractor is considered a method extractor.
a method or property name
Optional
params: any[]the array of arguments to be used in the method
invocation; may be null
Protected
@classServer-side ValueExtractor implementation type identifier.
Protected
nameA method or property name.
Protected
Optional
paramsThe parameter array. Must be null
or zero length
for a property based extractor.
Returns a composed extractor that first applies this extractor to its input, and then applies the after extractor to the result. If evaluation of either extractor throws an exception, it is relayed to the caller of the composed extractor.
a composed extractor that first applies this extractor and then applies the after extractor
the extractor to apply after this extractor is applied
Returns a composed extractor that first applies the before extractor to its input, and then applies this extractor to the result. If evaluation of either extractor throws an exception, it is relayed to the caller of the composed extractor.
a composed extractor that first applies the before extractor and then applies this extractor
the extractor to apply before this extractor is applied
Universal ValueExtractor implementation.
Either a property or method based extractor based on parameters passed to constructor. Generally, the name value passed to the `UniversalExtractor` constructor represents a property unless the *name* value ends in `()`, then this instance is a reflection based method extractor. Special cases are described in the constructor documentation.