public class HTMLStripTransformer extends Transformer
Transformer
implementation which strip off HTML tags using HTMLStripCharFilter
This is useful
in case you don't need this HTML anyway.HTMLStripCharFilter
Modifier and Type | Field and Description |
---|---|
static String |
STRIP_HTML |
static String |
TRUE |
Constructor and Description |
---|
HTMLStripTransformer() |
public static final String STRIP_HTML
public static final String TRUE
public Object transformRow(Map<String,Object> row, Context context)
Transformer
transformRow
in class Transformer
row
- A row of datacontext
- The current contextMap
<String
, Object
> if it returns
only one row or if there are multiple rows to be returned it must
be a List
<Map
<String
, Object
>>Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.