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

com.ocpsoft.pretty.faces.el.processor.PlainText Maven / Gradle / Ivy

There is a newer version: 3.3.3
Show newest version
package com.ocpsoft.pretty.faces.el.processor;

import com.ocpsoft.pretty.faces.config.mapping.PathParameter;

public class PlainText implements PathParameterProcessor
{

   public PathParameter process(final PathParameter param)
   {
      PathParameter result = param.copy();
      if (result.expressionIsPlainText())
      {
         result.setRegex(result.getExpression().getELExpression());
      }
      return result;
   }

   public String getRegex()
   {
      return null;
   }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy