public final class ResolutionService
extends java.lang.Object
| Constructor and Description | 
|---|
ResolutionService()  | 
| Modifier and Type | Method and Description | 
|---|---|
static Mergeable | 
resolveRules(RuleContext context,
            Mergeable def,
            RuleBundle bundle)
Runs the rules in a rule bundle, on a  
Mergeable object. | 
static Mergeable | 
resolveRules(RuleContext context,
            Mergeable def,
            java.util.Vector bundles)
Runs the rules in a vector of rule bundles, on a single
  
Mergeable object. | 
static Mergeable | 
resolveRules(RuleContext context,
            java.util.Vector defaults,
            java.util.Vector bundles)
Runs the rules in a vector of rule bundles, on a vector of
  
Mergeable objects. | 
public static final Mergeable resolveRules(RuleContext context, java.util.Vector defaults, java.util.Vector bundles)
Mergeable objects.
 This method clones the first Mergeable in the specified
 vector of Mergeable objects and merges the remaining
 Mergeable with the cloned object.
 Then this method runs the rule bundles that are in the specified vector
 of RuleBundle objects, passing the merged
 Mergeable object.
 RuleBundle objects are run in the order that they appear in
 the vector.
 The result is a single Mergeable object that can be used
 to paint an item in a DataView.
 This method does not modify any of the objects passed to it.
context - The context of the item to be painted.defaults - The vector of Mergeable objects that
                 would be used to paint the DataView if
                 no rules applied. All the Mergeable
                 objects in the vector must be compatible with
                 each other.bundles - The vector of RuleBundle objects to run.Mergeable that has been modified by the rules
         that have been fired.public static final Mergeable resolveRules(RuleContext context, Mergeable def, java.util.Vector bundles)
Mergeable object.
 Then this method runs the rule bundles that are in the specified vector
 of RuleBundle objects, passing a clone of the specified
 Mergeable object.
 RuleBundle objects are run
 in the order that they appear in the vector.
 The result is a single Mergeable object that can be used
 to paint an item in a DataView.
 This method does not modify any of the objects passed to it.
context - The context of the item to be painted.def - The Mergeable object that
                 would be used to paint the DataView if
                 no rules applied.bundles - The vector of RuleBundle objects to run.Mergeable that has been modified by the rules
         that have been fired.public static final Mergeable resolveRules(RuleContext context, Mergeable def, RuleBundle bundle)
Mergeable object.
 Then this method runs the specified RuleBundle object,
 passing a clone of the specified Mergeable object.
 The result is a single Mergeable object that can be used
 to paint an item in a DataView.
 This method does not modify any of the objects passed to it.
context - The context of the item to be painted.def - The Mergeable object that
                 would be used to paint the DataView if
                 no rules applied.bundle - The RuleBundle object to run.Mergeable that has been modified by the rules
         that have been fired.