Uses of Enum
org.apache.sling.xss.ProtectionContext
Packages that use ProtectionContext
-
Uses of ProtectionContext in org.apache.sling.xss
Fields in org.apache.sling.xss declared as ProtectionContextModifier and TypeFieldDescriptionstatic final ProtectionContextXSSFilter.DEFAULT_CONTEXTDefault context.Methods in org.apache.sling.xss that return ProtectionContextModifier and TypeMethodDescriptionstatic ProtectionContextGets a protection context from the specified name.static ProtectionContextReturns the enum constant of this type with the specified name.static ProtectionContext[]ProtectionContext.values()Returns an array containing the constants of this enum type, in the order they are declared.Methods in org.apache.sling.xss with parameters of type ProtectionContextModifier and TypeMethodDescriptionbooleanXSSFilter.check(ProtectionContext context, String src) Indicates whether or not a given source string contains XSS policy violations.XSSFilter.filter(ProtectionContext context, String src) Protects the given source string from containing XSS stuff.