All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.ocpsoft.rewrite.faces.annotation.handler.DeferredConverter Maven / Gradle / Ivy

There is a newer version: 10.0.2.Final
Show newest version
package org.ocpsoft.rewrite.faces.annotation.handler;

import org.ocpsoft.rewrite.context.EvaluationContext;
import org.ocpsoft.rewrite.event.Rewrite;
import org.ocpsoft.rewrite.param.Converter;

public class DeferredConverter implements Converter
{
   private Converter deferred;

   public DeferredConverter(Converter validator)
   {
      this.deferred = validator;
   }

   @Override
   public Object convert(Rewrite event, EvaluationContext context, Object value)
   {
      return value;
   }

   public Converter getDeferred()
   {
      return deferred;
   }
}