Class Mutater<I,O>

java.lang.Object
org.apache.juneau.reflect.Mutater<I,O>
Type Parameters:
I - Input type.
O - Output type.

public abstract class Mutater<I,O> extends Object
An interface for creating objects from other objects such as a String or Reader.
See Also:
  • Constructor Details

  • Method Details

    • mutate

      public O mutate(I in)
      Method for instantiating an object from another object.
      Parameters:
      in - The input object.
      Returns:
      The output object.
    • mutate

      public abstract O mutate(Object outer, I in)
      Method for instantiating an object from another object.
      Parameters:
      outer - The context object.
      in - The input object.
      Returns:
      The output object.