Package | Description |
---|---|
org.apache.tapestry.markup |
Implementations of
IMarkupWriter . |
org.apache.tapestry.util.text | |
org.apache.tapestry.wml |
Classes and components for main elements of the Wireless Markup Language (WML 1.2).
|
Modifier and Type | Method and Description |
---|---|
static void |
MarkupFilterUtils.print(java.io.PrintWriter writer,
char[] data,
int offset,
int length,
boolean escapeQuotes,
ICharacterTranslator translator) |
Constructor and Description |
---|
AbstractMarkupFilter(ICharacterTranslator translator) |
Modifier and Type | Class and Description |
---|---|
class |
AsciiCharacterTranslator
An object that translates selected ASCII characters into equivalent strings.
|
class |
MarkupCharacterTranslator
An object that encodes a character according to rules of the HTML specification,
so that it will be properly parsed by a browser irrespectively of the character
encoding used in the HTML output.
|
Modifier and Type | Method and Description |
---|---|
ICharacterTranslator |
DefaultCharacterTranslatorSource.getDefaultTranslator()
Returns a translator that encodes all non-safe characters into their HTML equivalents.
|
ICharacterTranslator |
ICharacterTranslatorSource.getDefaultTranslator() |
ICharacterTranslator |
DefaultCharacterTranslatorSource.getTranslator(java.lang.String encoding)
If the encoding is a Unicode one, returns a translator that encodes only the
non-safe ASCII characters and leaves the others untouched.
|
ICharacterTranslator |
ICharacterTranslatorSource.getTranslator(java.lang.String encoding) |
Constructor and Description |
---|
MarkupCharacterTranslator(boolean encodeNonAscii,
ICharacterMatcher safeMatcher,
ICharacterTranslator entityTranslator) |
Modifier and Type | Method and Description |
---|---|
ICharacterTranslator |
WMLCharacterTranslatorSource.getDefaultTranslator() |
ICharacterTranslator |
WMLCharacterTranslatorSource.getTranslator(java.lang.String encoding) |