org.mmbase.util.transformers
Class XmlEntities

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

public class XmlEntities
extends ReaderTransformer
implements CharTransformer

Any non-ASCII character will be replaced by an XML-entity.

Since:
MMBase-1.7
Version:
$Id: XmlEntities.java,v 1.4 2003/07/01 11:03:33 michiel Exp $
Author:
Michiel Meeuwissen

Constructor Summary
XmlEntities()
           
 
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

XmlEntities

public XmlEntities()
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