T
- the concrete type of XSLT transformationX
- the concrete function type associated to the XSLT transformation
typepublic abstract class AbstractXslTransformationExtension<T extends XslTransformation,X extends Function> extends de.cs3d.util.eclipse.extension.AbstractExtension<T,XslTransformationFactory<T,X>> implements XslExtensionConstants
XslTypeTransformation
s.Modifier and Type | Class and Description |
---|---|
class |
AbstractXslTransformationExtension.DefaultFactory
Default factory based on a configuration element.
|
EXTENSION_ID
Constructor and Description |
---|
AbstractXslTransformationExtension()
Default constructor
|
Modifier and Type | Method and Description |
---|---|
protected XslTransformationFactory<T,X> |
createFactory(org.eclipse.core.runtime.IConfigurationElement conf) |
protected abstract String |
getConfigurationElementName()
Get the name of the supported configuration element.
|
protected abstract X |
getFunction(String functionId)
Retrieve the function associated to a function ID in the context of a
XSLT transformation provided by this extension.
|
T |
getTransformation(String functionId)
Get the XSLT transformation for the function identified by the given
function identifier.
|
public AbstractXslTransformationExtension()
protected abstract X getFunction(String functionId)
functionId
- the function identifierprotected abstract String getConfigurationElementName()
protected XslTransformationFactory<T,X> createFactory(org.eclipse.core.runtime.IConfigurationElement conf) throws Exception
createFactory
in class de.cs3d.util.eclipse.extension.AbstractExtension<T extends XslTransformation,XslTransformationFactory<T extends XslTransformation,X extends Function>>
Exception
public T getTransformation(String functionId) throws Exception
functionId
- the function identifierException
- if no XSLT transformation is available for the function
or the instantiation failsBuild 2013-10-07_11-27-38
Revision 99b27713a799a59a21b0b166eaaea8aaefbf125a