public static class CitationHelperAction.QuotedTextValidator extends Object
| Constructor and Description |
|---|
CitationHelperAction.QuotedTextValidator() |
| Modifier and Type | Method and Description |
|---|---|
static String |
escapeHtmlAndJsQuoted(String string)
Return a string that is safe to place into a JavaScript value wrapped
in single quotes.
|
static String |
escapeQuotedString(String string)
Return a string for insertion in a quote in an HTML tag (as the value of an element's attribute.
|
public CitationHelperAction.QuotedTextValidator()
public static String escapeQuotedString(String string)
string - The string to escape.public static String escapeHtmlAndJsQuoted(String string)
string - The original stringCopyright © 2003-2015 The Sakai Foundation. All Rights Reserved.