Generated by
JDiff

Interface com.adobe.granite.xss.XSSAPI

Changed Methods
String encodeForHTML(String) Changed from non-abstract to abstract. Encodes a source string for HTML element content.
String encodeForHTMLAttr(String) Changed from non-abstract to abstract. Encodes a source string for writing to an HTML attribute value.
String encodeForJSString(String) Changed from non-abstract to abstract. Encodes a source string for writing to JavaScript string content.
String encodeForXML(String) Changed from non-abstract to abstract. Encodes a source string for XML element content.
String encodeForXMLAttr(String) Changed from non-abstract to abstract. Encodes a source string for writing to an XML attribute value.
String filterHTML(String) Changed from non-abstract to abstract. Filters potentially user-contributed HTML to meet the AntiSamy policy rules currently in effect for HTML output (see the XSSFilter service for details).
XSSAPI getRequestSpecificAPI(SlingHttpServletRequest) Changed from non-abstract to abstract. Returns an XSSAPI instance capable of mapping resource URLs.
XSSAPI getResourceResolverSpecificAPI(ResourceResolver) Changed from non-abstract to abstract. Returns an XSSAPI instance capable of mapping resource URLs.
String getValidCSSColor(String, String) Changed from non-abstract to abstract. Validate a CSS color value.
String getValidDimension(String, String) Changed from non-abstract to abstract. Validate a string which should contain a dimension, returning a default value if the source is empyt, can't be parsed, or contains XSS risks.
Integer getValidInteger(String, int) Changed from non-abstract to abstract. Validate a string which should contain an integer, returning a default value if the source is empty, can't be parsed, or contains XSS risks.
String getValidJSToken(String, String) Changed from non-abstract to abstract. Validate a Javascript token.
Long getValidLong(String, long) Changed from non-abstract to abstract. Validate a string which should contain a long, returning a default value if the source is empty, can't be parsed, or contains XSS risks.
String getValidHref(String) Changed from non-abstract to abstract. Sanitizes a URL for writing as an HTML href or src attribute value.
String getValidHref(String, boolean) Changed from non-abstract to abstract.