List of usage examples for com.google.gwt.safehtml.shared SimpleHtmlSanitizer getInstance
public static SimpleHtmlSanitizer getInstance()
From source file:org.geosdi.geoplatform.gui.configuration.GPSecureStringTextField.java
License:Open Source License
public static String sanitizeString(String stringToSanitize) { String returnValue = null;//from w w w . j a va2s .c o m if (stringToSanitize != null) { returnValue = SimpleHtmlSanitizer.getInstance().sanitize(stringToSanitize).asString(); } return returnValue; }