/** * @see org.sakaiproject.util.api.FormattedText#validateURL(String) */ public static boolean validateURL(String urlToValidate) { return getFormattedText().validateURL(urlToValidate); }
/** * @see org.sakaiproject.util.api.FormattedText#sanitizeHrefURL(String) */ public static String sanitizeHrefURL(String urlToSanitize) { return getFormattedText().sanitizeHrefURL(urlToSanitize); }
/** * @see org.sakaiproject.util.api.FormattedText#escapeJsQuoted(String) */ public static String escapeJsQuoted(String text) { return getFormattedText().escapeJsQuoted(text); }
/** * @see org.sakaiproject.util.api.FormattedText#getHtmlBody(String) */ public static String getHtmlBody(String text) { return getFormattedText().getHtmlBody(text); }
/** * @see org.sakaiproject.util.api.FormattedText#stripHtmlFromText(String,boolean) */ public static String stripHtmlFromText(String text, boolean smartSpacing) { return getFormattedText().stripHtmlFromText(text, smartSpacing); }
/** * @see org.sakaiproject.util.api.FormattedText#processFormattedText(String, StringBuilder, Level) */ public static String processFormattedText(String strFromBrowser, StringBuilder errorMessages, Level level) { return getFormattedText().processFormattedText(strFromBrowser, errorMessages, level); }
public static String processFormattedText(String strFromBrowser, StringBuilder errorMessages, boolean checkForEvilTags, boolean replaceWhitespaceTags, boolean useLegacySakaiCleaner) { return getFormattedText().processFormattedText(strFromBrowser, errorMessages, null, checkForEvilTags, replaceWhitespaceTags, useLegacySakaiCleaner); }
/** * @see org.sakaiproject.util.api.FormattedText#stripHtmlFromText(String,boolean,boolean) */ public static String stripHtmlFromText(String text, boolean smartSpacing, boolean stripEscapeSequences) { return getFormattedText().stripHtmlFromText(text, smartSpacing, stripEscapeSequences); }
/** * @see org.sakaiproject.util.api.FormattedText#makeShortenedText(String) */ public static String makeShortenedText(String text, Integer maxLength, String separator, String cutMethod) { return getFormattedText().makeShortenedText(text, maxLength, separator, cutMethod); }
/** * @see org.sakaiproject.util.api.FormattedText#processFormattedText(String, StringBuilder, Level, boolean, boolean, boolean) */ public static String processFormattedText(String strFromBrowser, StringBuilder errorMessages, Level level, boolean checkForEvilTags, boolean replaceWhitespaceTags, boolean useLegacySakaiCleaner) { return getFormattedText().processFormattedText(strFromBrowser, errorMessages, level, checkForEvilTags, replaceWhitespaceTags, useLegacySakaiCleaner); }
/** * @see org.sakaiproject.util.api.FormattedText#getDecimalSeparator() */ public static String getDecimalSeparator() { return getFormattedText().getDecimalSeparator(); }
/** * @see org.sakaiproject.util.api.FormattedText#getNumberFormat(Integer,Integer,Boolean) */ public static NumberFormat getNumberFormat(Integer maxFractionDigits, Integer minFractionDigits, Boolean groupingUsed) { return getFormattedText().getNumberFormat(maxFractionDigits, minFractionDigits, groupingUsed); }
/** * @see org.sakaiproject.util.api.FormattedText#getNumberFormat() */ public static NumberFormat getNumberFormat() { return getFormattedText().getNumberFormat(); }
public static String processFormattedText(String strFromBrowser, StringBuilder errorMessages, boolean checkForEvilTags, boolean replaceWhitespaceTags) { return getFormattedText().processFormattedText(strFromBrowser, errorMessages, checkForEvilTags, replaceWhitespaceTags); }
public static String escapeHtml(String value, boolean escapeNewlines) { return getFormattedText().escapeHtml(value, escapeNewlines); }
public static String encodeUnicode(String value) { return getFormattedText().encodeUnicode(value); }
public static String processAnchor(String anchor) { return getFormattedText().processAnchor(anchor); }
public static String unEscapeHtml(String value) { return getFormattedText().unEscapeHtml(value); }
public static String decodeFormattedTextAttribute(Element element, String baseAttributeName) { return getFormattedText().decodeFormattedTextAttribute(element, baseAttributeName); }
public static boolean trimFormattedText(String formattedText, int maxNumOfChars, StringBuilder strTrimmed) { return getFormattedText().trimFormattedText(formattedText, maxNumOfChars, strTrimmed); }