org.mmbase.util.transformers
Class Identifier

java.lang.Object
  extended byorg.mmbase.util.transformers.ReaderTransformer
      extended byorg.mmbase.util.transformers.Identifier
All Implemented Interfaces:
CharTransformer, Transformer

public class Identifier
extends ReaderTransformer
implements CharTransformer

Transforms strings to identifiers, replacing punctuation and whitespace with underscores.

Since:
MMBase-1.7
Version:
$Id: Identifier.java,v 1.1 2003/09/30 08:01:22 pierre Exp $
Author:
Michiel Meeuwissen

Constructor Summary
Identifier()
           
 
Method Summary
 java.lang.String toString()
           
 java.io.Writer transform(java.io.Reader r, java.io.Writer w)
           
 
Methods inherited from class org.mmbase.util.transformers.ReaderTransformer
transform, transform, transformBack, transformBack, transformBack
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.mmbase.util.transformers.CharTransformer
transform, transform, transformBack, transformBack, transformBack
 

Constructor Detail

Identifier

public Identifier()
Method Detail

transform

public java.io.Writer transform(java.io.Reader r,
                                java.io.Writer w)
Specified by:
transform in interface CharTransformer
Specified by:
transform in class ReaderTransformer

toString

public java.lang.String toString()
Specified by:
toString in interface Transformer


MMBase build 1.7.1.20041002