@Deprecated public interface EscapingRule
ProtectionContext
.void configure(String policyPath, String[] relPathPrefixes, SlingRepository repository) throws XSSProtectionException
policyPath
- Path to the policy file to be usedrelPathPrefixes
- Array containing prefixes for resolving relative path
prefixesrepository
- The repository to useXSSProtectionException
- if an error occured during configuring the serviceString escape(String str) throws XSSProtectionException
str
- The string to be encodedXSSProtectionException
- if an error occured while escaping the string"Copyright © 2006 - 2015 Adobe Systems Incorporated. All Rights Reserved"