Package de.wwu.scdh.annotation.selection
Interface RewriterFactory
- All Known Implementing Classes:
BackwardMappingFactory,ForwardMappingFactory,NormalizerFactory
public interface RewriterFactory
A factory that makes a
Rewriter for a given combination of
points etc.-
Method Summary
Modifier and TypeMethodDescription<R extends Resource<?>,P1 extends Point, P2 extends Point, P3 extends Point, RW extends Rewriter<R, P1, P3>>
RWgetRewriter(Class<P1> point1, Class<P2> point2, RewriterConfig config) For a combination ofPointclasses, the first of which is the input point, the second is the desired output, return a Rewriter.
-
Method Details
-
getRewriter
<R extends Resource<?>,P1 extends Point, RW getRewriterP2 extends Point, P3 extends Point, RW extends Rewriter<R, P1, P3>> (Class<P1> point1, Class<P2> point2, RewriterConfig config) throws ConfigurationException For a combination ofPointclasses, the first of which is the input point, the second is the desired output, return a Rewriter.- Parameters:
point1- input point to be rewrittenpoint2- desired output representationconfig- globalRewriterConfigrecord- Throws:
ConfigurationException
-