org.mmbase.util
Class Casting.StringWrapper

java.lang.Object
  extended by org.mmbase.util.Casting.StringWrapper
All Implemented Interfaces:
CharSequence
Enclosing class:
Casting

public static class Casting.StringWrapper
extends Object
implements CharSequence

Wraps a String with an 'Escaper'.

Since:
MMBase-1.8

Constructor Summary
Casting.StringWrapper(CharSequence s, CharTransformer e)
           
 
Method Summary
 char charAt(int index)
           
 CharSequence getString()
           
 int length()
           
 CharSequence subSequence(int start, int end)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Casting.StringWrapper

Casting.StringWrapper(CharSequence s,
                      CharTransformer e)
Method Detail

charAt

public char charAt(int index)
Specified by:
charAt in interface CharSequence

length

public int length()
Specified by:
length in interface CharSequence

subSequence

public CharSequence subSequence(int start,
                                int end)
Specified by:
subSequence in interface CharSequence

toString

public String toString()
Specified by:
toString in interface CharSequence
Overrides:
toString in class Object

getString

public CharSequence getString()


MMBase 2.0-SNAPSHOT - null