net.sf.json.util
public abstract class WebHijackPreventionStrategy extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static WebHijackPreventionStrategy |
COMMENTS
Wraps the string with /* *\/
|
static WebHijackPreventionStrategy |
INFINITE_LOOP
Prepends "while(1);"
|
Constructor and Description |
---|
WebHijackPreventionStrategy() |
Modifier and Type | Method and Description |
---|---|
abstract java.lang.String |
protect(java.lang.String str)
Transforms the input with the desired strategy.
|
public static final WebHijackPreventionStrategy COMMENTS
public static final WebHijackPreventionStrategy INFINITE_LOOP
Copyright © 2006-2014 Json-lib. All Rights Reserved.