de.unidu.is.text
Class UntagFilter

java.lang.Object
  extended byde.unidu.is.text.AbstractFilter
      extended byde.unidu.is.text.AbstractSingleItemFilter
          extended byde.unidu.is.text.UntagFilter
All Implemented Interfaces:
Filter, SingleItemFilter

public class UntagFilter
extends AbstractSingleItemFilter

This filter removes XML/HTML tags from a specified string.

Since:
2003-07-04
Version:
$Revision: 1.7 $, $Date: 2005/02/21 17:29:28 $
Author:
Henrik Nottelmann

Field Summary
 
Fields inherited from class de.unidu.is.text.AbstractFilter
nextFilter
 
Constructor Summary
UntagFilter(Filter nextFilter)
          Creates a new instance and sets the next filter in the chain.
 
Method Summary
 java.lang.Object run(java.lang.Object value)
          Removes all XML/HTML tags from the specified value.
 
Methods inherited from class de.unidu.is.text.AbstractSingleItemFilter
filter
 
Methods inherited from class de.unidu.is.text.AbstractFilter
apply, apply
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UntagFilter

public UntagFilter(Filter nextFilter)
Creates a new instance and sets the next filter in the chain.

Parameters:
nextFilter - next filter in the filter chain
Method Detail

run

public java.lang.Object run(java.lang.Object value)
Removes all XML/HTML tags from the specified value.

Parameters:
value - string to be converted
Returns:
value without tags