...
This class implements the EvaluatorFactory interface. This factory can produce evaluators that can answer true or false to a user meeting any logical combination of attribute values in the passed in IPerson object. It does so be defining one test element, <attribute>, and a logical grouping element, <paren>, that behaves according to a set mode. The <dlm:audience> element using this factory must contain at least one and may contain many of these elements in any combination.
Syntactic Configuration Elements
<paren> ELEMENT
Like the <dlm:audience> element this element must contain at least one and may contain many <attribute> or <parent> elements. In fact the implementing class implements the Evaluator interface enabling the implementing class to be passed back from the factory.
...
The <attribute> element can perform five tests on attributes found in the passed in IPerson object. Its supported xml attributes are as follows.
Attribute Name | Description |
---|---|
name | The key of the particular attribute to be tested |
...
in the |
...
IPerson object. | |
mode | Indicates the type of test and can be one of the following: |
...
exists |
...
, |
...
equals |
...
, |
...
contains |
...
, |
...
startsWith |
...
, and |
...
endsWith |
...
. | |
value | The value against which the attribute is to be compared |
...
. This attribute is not required and indeed is not used for the "exists" mode. |
These three two elements, <paren> and <attribute>, can be nested to any level as needed.
...