org.apache.tapestry.wml
Class WMLCharacterTranslatorSource

java.lang.Object
  extended by org.apache.tapestry.wml.WMLCharacterTranslatorSource
All Implemented Interfaces:
ICharacterTranslatorSource

public class WMLCharacterTranslatorSource
extends Object
implements ICharacterTranslatorSource

The WML implementation of a character translator source. Returns a WML translator that encodes everything that is non-safe. Some code borrowed from WMLWriter (by David Solis)

Since:
4.0
Author:
mb

Constructor Summary
WMLCharacterTranslatorSource()
           
 
Method Summary
 ICharacterTranslator getDefaultTranslator()
           
 ICharacterTranslator getTranslator(String encoding)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WMLCharacterTranslatorSource

public WMLCharacterTranslatorSource()
Method Detail

getDefaultTranslator

public ICharacterTranslator getDefaultTranslator()
Specified by:
getDefaultTranslator in interface ICharacterTranslatorSource
See Also:
ICharacterTranslatorSource.getDefaultTranslator()

getTranslator

public ICharacterTranslator getTranslator(String encoding)
Specified by:
getTranslator in interface ICharacterTranslatorSource
See Also:
ICharacterTranslatorSource.getTranslator(java.lang.String)


Copyright © 2006-2008 Apache Software Foundation. All Rights Reserved.