org.apache.tapestry.wml
Class WMLCharacterTranslatorSource
java.lang.Object
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WMLCharacterTranslatorSource
public WMLCharacterTranslatorSource()
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.