public class AttributeParser extends Object
Modifier and Type | Method and Description |
---|---|
static String |
getUnquoted(String input,
char quote,
boolean isELIgnored,
boolean isDeferredSyntaxAllowedAsLiteral,
boolean quoteAttributeEL)
Parses the provided input String as a JSP attribute and returns an
unquoted value.
|
protected static String |
getUnquoted(String input,
char quote,
boolean isELIgnored,
boolean isDeferredSyntaxAllowedAsLiteral,
boolean strict,
boolean quoteAttributeEL)
Provided solely for unit test purposes and allows per call overriding of
the STRICT_QUOTE_ESCAPING system property.
|
public static String getUnquoted(String input, char quote, boolean isELIgnored, boolean isDeferredSyntaxAllowedAsLiteral, boolean quoteAttributeEL)
input
- The input.quote
- The quote character for the attribute or 0 for
scripting expressions.isELIgnored
- Is expression language being ignored on the page
where the JSP attribute is defined.isDeferredSyntaxAllowedAsLiteral
- Are deferred expressions treated as literals?quoteAttributeEL
- Should the rules of JSP.1.6 for escaping in
attributes be applied to EL in attribute values?protected static String getUnquoted(String input, char quote, boolean isELIgnored, boolean isDeferredSyntaxAllowedAsLiteral, boolean strict, boolean quoteAttributeEL)
input
- The input.quote
- The quote character for the attribute or 0 for
scripting expressions.isELIgnored
- Is expression language being ignored on the page
where the JSP attribute is defined.isDeferredSyntaxAllowedAsLiteral
- Are deferred expressions treated as literals?strict
- The value to use for STRICT_QUOTE_ESCAPING.quoteAttributeEL
- Should the rules of JSP.1.6 for escaping in
attributes be applied to EL in attribute values?Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.