FilterEscapeXmlAttrs implements TextContentFilter { @Override public String process(TRenderContext context, String rawValue) { return escaper.escape(rawValue); }  @Override String process(TRenderContext context, String rawValue);  }
@Test public void testProcess() throws Exception { assertEquals("&amp;&lt;&gt;", new FilterEscapeXmlAttrs().process(null, "&<>")); }