|
The transformers themselves are used to determine the applicability of a particular transformation.
The actual selection of a transformer is done by the injected TransformerSelector.
Constructor Summary | ||
ContentTransformerRegistry(TransformerSelector transformerSelector) |
Method Summary | ||
void |
addComponentTransformer(ContentTransformer transformer) Records a transformer that can NOT be queried for applicability, but may be included as a component of complex transformers. |
|
void |
addTransformer(ContentTransformer transformer) Registers an individual transformer that can be queried to check for applicability. |
|
getActiveTransformers(String sourceMimetype, long sourceSize, String targetMimetype, TransformationOptions options) | ||
getAllTransformers() | ||
getTransformer(String transformerName) Returns a transformer identified by name. |
||
getTransformer(String sourceMimetype, long sourceSize, String targetMimetype, TransformationOptions options) Gets the best transformer possible. |
||
getTransformer(String sourceMimetype, String targetMimetype, TransformationOptions options) Deprecated. use overloaded version with sourceSize parameter. |
||
getTransformers() | ||
void |
removeTransformer(ContentTransformer transformer) Removes a dynamically created transformer. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
|