Inherited by AbstractExtractor
[virtual], and NullImplementation::NullValueExtractor
List of all members.
Important Note: all classes that implement the ValueExtractor interface must explicitly implement the Object::hashCode() and Object::equals methods in a way that is based solely on the object's serializable state.
|ValueExtractor Handle definition. |
|ValueExtractor View definition. |
|ValueExtractor Holder definition. |
Public Member Functions
|virtual Object::Holder||extract (Object::Holder ohTarget) const =0|
|Extract the value from the passed object. |
|virtual bool||equals (Object::View v) const =0|
|Compare the ValueExtractor with another object to determine equality. |
|virtual size32_t||hashCode () const =0|
|Determine a hash value for the ValueExtractor object according to the general Object::hashCode() contract. |
Extract the value from the passed object.
The returned value may be NULL.
|ohTarget||an Object to retrieve the value from|
|ClassCastException||if this ValueExtractor is incompatible with the passed object to extract a value from and the implementation requires the passed object to be of a certain type|
|Exception||if this ValueExtractor encounters an exception in the course of extracting the value|
|IllegalArgumentException||if this ValueExtractor cannot handle the passed object for any other reason; an implementor should include a descriptive message|
|virtual bool equals||(||Object::View||v||)|| const
Compare the ValueExtractor with another object to determine equality.
Two ValueExtractor objects, ve1 and ve2 are considered equal iff
ve2->extract(v) for all values of
|v||the reference object with which to compare|
|virtual size32_t hashCode||(||)|| const