public class CssUrlValidateFunction extends BaseUrlValidateFunction
#
is returned.
If it is valid, the characters [\n\r\\'"()<>*] are URL encoded to ensure the string can be safely
inserted in a CSS URL context. In particular:
References:
BaseUrlValidateFunction
Constructor and Description |
---|
CssUrlValidateFunction() |
Modifier and Type | Method and Description |
---|---|
protected void |
applyEscaping(String in,
Appendable out)
Called by
filter after verifying that the input is a valid URI. |
filter, isValidUri
protected void applyEscaping(String in, Appendable out) throws IOException
BaseUrlValidateFunction
filter
after verifying that the input is a valid URI. Should apply any
appropriate escaping to the input string.applyEscaping
in class BaseUrlValidateFunction
IOException
Copyright © 2010–2013 Google. All rights reserved.