net.sf.tacos.util
Class XmlMarkupFilter.XmlCharacterTranslator

java.lang.Object
  extended by org.apache.tapestry.util.text.MarkupCharacterTranslator
      extended by net.sf.tacos.util.XmlMarkupFilter.XmlCharacterTranslator
All Implemented Interfaces:
org.apache.tapestry.util.text.ICharacterTranslator
Enclosing class:
XmlMarkupFilter

public static class XmlMarkupFilter.XmlCharacterTranslator
extends org.apache.tapestry.util.text.MarkupCharacterTranslator


Constructor Summary
XmlMarkupFilter.XmlCharacterTranslator()
          Default constructor.
 
Method Summary
 String translate(char ch)
          Translates the character.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XmlMarkupFilter.XmlCharacterTranslator

public XmlMarkupFilter.XmlCharacterTranslator()
Default constructor.

Method Detail

translate

public String translate(char ch)
Translates the character. XML spec section 2.2 Char ::= #x9 | #xA | #xD | [#x20-#xD7FF] | [#xE000-#xFFFD] | [#x10000-#x10FFFF] any Unicode character, excluding the surrogate blocks, FFFE, and FFFF.

Specified by:
translate in interface org.apache.tapestry.util.text.ICharacterTranslator
Overrides:
translate in class org.apache.tapestry.util.text.MarkupCharacterTranslator