Class ForwardMappingFactory
java.lang.Object
de.wwu.scdh.annotation.selection.rewriter.ForwardMappingFactory
- All Implemented Interfaces:
RewriterFactory
-
Constructor Summary
ConstructorsConstructorDescriptionForwardMappingFactory(net.sf.saxon.s9api.XPathCompiler compiler) Creates a newForwardMappingFactorywith aXPathCompiler. -
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.
-
Constructor Details
-
ForwardMappingFactory
public ForwardMappingFactory(net.sf.saxon.s9api.XPathCompiler compiler) Creates a newForwardMappingFactorywith aXPathCompiler.- Parameters:
compiler- - A compiler used for evaluating XPath expressions.
-
-
Method Details
-
getRewriter
public <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 Description copied from interface:RewriterFactoryFor a combination ofPointclasses, the first of which is the input point, the second is the desired output, return a Rewriter.- Specified by:
getRewriterin interfaceRewriterFactory- Parameters:
point1- input point to be rewrittenpoint2- desired output representationconfig- globalRewriterConfigrecord- Throws:
ConfigurationException
-