Class TransformerDefinition


  • public final class TransformerDefinition
    extends java.lang.Object
    Deprecated.
    Since 2.3.0, replaced by TransformationDefinition.
    This class contains methods that define attributes for Transformer implementations.
    • Constructor Summary

      Constructors 
      Constructor Description
      TransformerDefinition​(java.lang.Class<? extends Transformer> transformer, com.onwbp.base.text.UserMessage label, com.onwbp.base.text.UserMessage description)
      Deprecated.
      Constructor.
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      com.onwbp.base.text.UserMessage getDescription()
      Deprecated.
      Returns the label of this Transformer.
      com.onwbp.base.text.UserMessage getLabel()
      Deprecated.
      Returns the label of this Transformer.
      java.lang.Class getTransformer()
      Deprecated.
      Returns an instance of this Transformer.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • TransformerDefinition

        public TransformerDefinition​(java.lang.Class<? extends Transformer> transformer,
                                     com.onwbp.base.text.UserMessage label,
                                     com.onwbp.base.text.UserMessage description)
        Deprecated.
        Constructor.
        Parameters:
        transformer - the class must be an object which is implemented from the Transformer interface.
        label - the transformer's label.
        description - the transformer's description.
    • Method Detail

      • getTransformer

        public java.lang.Class getTransformer()
        Deprecated.
        Returns an instance of this Transformer.
      • getLabel

        public com.onwbp.base.text.UserMessage getLabel()
        Deprecated.
        Returns the label of this Transformer.
      • getDescription

        public com.onwbp.base.text.UserMessage getDescription()
        Deprecated.
        Returns the label of this Transformer.