how can a filter expression to allow wild card (*) - Richfaces 4.0

I am using filter expression in a datatable. I do know there are inbuilt function provided which says fn:containsIgnoreCase and fn:startWith. But my user would like to add a wild card to select what they want to filter with. how can I do it?  The below code does not work 

 

 

 

 

<rich:column width="60px" sortBy="#{wo.displayWO.status}" sortOrder="#{sortingBean.sortOrders['displayWO.status']}"

               filter="#{filterBean.statusFilter}">

 

FilterBean.java

public Filter<DisplayWO> getStatusFilter() {

  return new Filter<DisplayWO>() {

   @Override

   public boolean accept(DisplayWO t) {

   switch (statusFilterNumber) {

    ?????

 

   }

   }

  };

  }