public abstract class Preserved extends BaseMacro
description, initialContext, paramDescription| Constructor and Description |
|---|
Preserved() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addSpecial(char c)
Encode special character c by replacing with it's hex character entity
code.
|
protected void |
addSpecial(String c,
String replacement)
Add a replacement for the special character c which may be a string
|
protected String |
replace(String source)
Actually replace specials in source.
|
compareTo, execute, getDescription, getName, getParamDescription, setInitialContext, toStringprotected void addSpecial(char c)
protected void addSpecial(String c, String replacement)
c - the character to replacereplacement - the new stringCopyright © 2003–2021 Sakai Project. All rights reserved.