org.mmbase.util.transformers
Class Latin3Surrogator

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

public class Latin3Surrogator
extends ConfigurableReaderTransformer
implements CharTransformer

The ISO-8859-3 ('South European') unibyte encoding is used for languages like maltese and esperanto. If characters from this set are missing on your presentation device, this Transformer can provide (ASCII) surrogates for a bunch of characters.

Since:
MMBase-1.7
Version:
$Id: Latin3Surrogator.java,v 1.3 2003/05/12 11:15:35 michiel Exp $
Author:
Michiel Meeuwissen

Field Summary
static int HMETODO
           
static int XMETODO
           
 
Fields inherited from class org.mmbase.util.transformers.ConfigurableReaderTransformer
to
 
Constructor Summary
Latin3Surrogator()
           
Latin3Surrogator(int c)
           
 
Method Summary
 java.lang.String getEncoding()
          Returns the encoding that is currently active
protected  java.io.Writer hoj(java.io.Reader r, java.io.Writer w)
           
protected  java.io.Writer iksoj(java.io.Reader r, java.io.Writer w)
           
 java.io.Writer transform(java.io.Reader r, java.io.Writer w)
           
 java.util.Map transformers()
          Returns which transformations can be done by an object of this class.
 
Methods inherited from class org.mmbase.util.transformers.ConfigurableReaderTransformer
configure, toString
 
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
 
Methods inherited from interface org.mmbase.util.transformers.Transformer
toString
 

Field Detail

XMETODO

public static final int XMETODO
See Also:
Constant Field Values

HMETODO

public static final int HMETODO
See Also:
Constant Field Values
Constructor Detail

Latin3Surrogator

public Latin3Surrogator()

Latin3Surrogator

public Latin3Surrogator(int c)
Method Detail

iksoj

protected java.io.Writer iksoj(java.io.Reader r,
                               java.io.Writer w)

hoj

protected java.io.Writer hoj(java.io.Reader r,
                             java.io.Writer w)

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

getEncoding

public java.lang.String getEncoding()
Description copied from interface: ConfigurableTransformer
Returns the encoding that is currently active

Specified by:
getEncoding in interface ConfigurableTransformer
Specified by:
getEncoding in class ConfigurableReaderTransformer

transformers

public java.util.Map transformers()
Description copied from interface: ConfigurableTransformer
Returns which transformations can be done by an object of this class.

Specified by:
transformers in interface ConfigurableTransformer
Specified by:
transformers in class ConfigurableReaderTransformer


MMBase build 1.7.1.20041002