FilterCapitalize implements TextContentFilter { @Override public String process(TRenderContext context, String rawValue) { return toTitleCase(rawValue); }  static String toTitleCase(String givenString); @Override String process(TRenderContext context, String rawValue);  }
@Test public void testProcess() throws Exception { assertEquals("It Is A Title", new FilterCapitalize().process(null, "it is a title")); }