edu.udo.cs.wvtool.config
Interface WVTConfigurationRule
- All Known Implementing Classes:
- WVTConfigurationFact
public interface WVTConfigurationRule
This interface abstracts from rules, used to select an appropriate component
for a given document. The input to a rule is always information about a
document being processed, the output is the component to use for this
document. For each step, an individual rule has to be specified, though on an
abstract level, they all have the same interface.
- Version:
- $Id: WVTConfigurationRule.java,v 1.2 2006/06/06 11:45:24 mjwurst Exp $
- Author:
- Michael Wurst
getMatchingComponent
java.lang.Object getMatchingComponent(WVTDocumentInfo d)
throws WVTConfigException
- Get a component object for a given document info
- Parameters:
d
- information about a document
- Returns:
- the object to use for the document
- Throws:
WVTConfigException