- Type Parameters:
T - object type
- All Implemented Interfaces:
- org.metafacture.framework.LifeCycle, org.metafacture.framework.ObjectPipe<T,org.metafacture.framework.ObjectReceiver<java.lang.String>>, org.metafacture.framework.ObjectReceiver<T>, org.metafacture.framework.Receiver, org.metafacture.framework.Sender<org.metafacture.framework.ObjectReceiver<java.lang.String>>
@Description(value="Builds a String from a template and an Object. Provide template in brackets. ${o} marks the place where the object is to be inserted. If the object is an instance of Triple ${s}, ${p} and ${o} are used instead.")
@In(value=java.lang.Object.class)
@Out(value=java.lang.String.class)
@FluxCommand(value="template")
public final class ObjectTemplate<T>
extends org.metafacture.framework.helpers.DefaultObjectPipe<T,org.metafacture.framework.ObjectReceiver<java.lang.String>>
Builds a String from a template and an Object. ${o} marks
the place where the object is to be inserted. If the received object in an
instance of Triple ${s}, ${p} and ${o} are used instead.