org.apache.jasper.compiler
public class AttributeParser extends Object
Method Summary | |
---|---|
static String | getUnquoted(String input, char quote, boolean isELIgnored, boolean isDeferredSyntaxAllowedAsLiteral)
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)
Provided solely for unit test purposes and allows per call overriding of
the STRICT_QUOTE_ESCAPING system property.
|
Parameters: 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?
Returns: An unquoted JSP attribute that, if it contains expression language can be safely passed to the EL processor without fear of ambiguity.
Parameters: 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.
Returns: An unquoted JSP attribute that, if it contains expression language can be safely passed to the EL processor without fear of ambiguity.