org.mmbase.util.transformers
Class Url

java.lang.Object
  extended byorg.mmbase.util.transformers.StringTransformer
      extended byorg.mmbase.util.transformers.ConfigurableStringTransformer
          extended byorg.mmbase.util.transformers.Url
All Implemented Interfaces:
CharTransformer, ConfigurableTransformer, Transformer

public class Url
extends ConfigurableStringTransformer
implements CharTransformer

Encodings related to URL's. The implementation is still in ../URL*Escape. Perhaps should be migrated to here...

Author:
Michiel Meeuwissen

Field Summary
static int ESCAPE
           
static int PARAM_ESCAPE
           
 
Fields inherited from class org.mmbase.util.transformers.ConfigurableStringTransformer
to
 
Constructor Summary
Url()
           
Url(int conf)
           
 
Method Summary
 java.lang.String getEncoding()
          Returns the encoding that is currently active
 java.lang.String transform(java.lang.String r)
           
 java.lang.String transformBack(java.lang.String r)
           
 java.util.Map transformers()
          Used when registering this class as a possible Transformer
 
Methods inherited from class org.mmbase.util.transformers.ConfigurableStringTransformer
configure, toString
 
Methods inherited from class org.mmbase.util.transformers.StringTransformer
transform, transform, 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
 
Methods inherited from interface org.mmbase.util.transformers.Transformer
toString
 

Field Detail

ESCAPE

public static final int ESCAPE
See Also:
Constant Field Values

PARAM_ESCAPE

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

Url

public Url()

Url

public Url(int conf)
Method Detail

transformers

public java.util.Map transformers()
Used when registering this class as a possible Transformer

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

transform

public java.lang.String transform(java.lang.String r)
Specified by:
transform in interface CharTransformer
Specified by:
transform in class StringTransformer

transformBack

public java.lang.String transformBack(java.lang.String r)
Specified by:
transformBack in interface CharTransformer
Overrides:
transformBack in class StringTransformer

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 ConfigurableStringTransformer


MMBase build 1.7.1.20041002