| java.lang.Object org.mmbase.util.transformers.Transformers
Transformers | public class Transformers (Code) | | Utitilies related to the tranformers of this package.
author: Michiel Meeuwissen since: MMBase-1.7 |
getCharTransformer | public static CharTransformer getCharTransformer(String name, String config, String errorId, boolean back)(Code) | | This method instatiates a CharTransformer by use of reflection.
Parameters: name - The class name for the CharTransformer to be returned Parameters: config - A configuration string for this transformer. At the moment this can be parsedas an integer, or the name of a integer constant of the transformer's class.Likely, other ways to configure a transformer will be available. Parameters: errorId - If something goes wrong, an error message is logged, in which this String isused, to clear things up. Parameters: back - If true, the Transformer will be wrapped in a InverseCharTransformer, so thetransformation will do the inverse thing. A CharTransformer instance or null in case of an error. |
|
|