org.eclipse.actf.validation.rulebase
Interface IRuleBaseMappingFactory


public interface IRuleBaseMappingFactory

A factory for rules base mappings. A factory instance, once obtained, can be used to find rule base mappings for a given type.

Author:
John Buslawski

Method Summary
 DocumentRuleBaseDescriptor getRuleBaseMapping(String name)
          gets an instance of the rule base mapping for the given name.
 DocumentRuleBaseDescriptor[] getRuleBaseMappings()
          gets all of the RuleBaseMappings
 

Method Detail

getRuleBaseMapping

DocumentRuleBaseDescriptor getRuleBaseMapping(String name)
gets an instance of the rule base mapping for the given name.

Parameters:
name - - name of the rule base mapping
Returns:
the rule base mapping for the given name or null if there was no rule base mapping registered under that name

getRuleBaseMappings

DocumentRuleBaseDescriptor[] getRuleBaseMappings()
gets all of the RuleBaseMappings

Returns:
all rule base mappings or null if there are no rule base mapping