Class JSTLXPathVariableResolver
java.lang.Object
org.apache.taglibs.standard.tag.common.xml.JSTLXPathVariableResolver
- All Implemented Interfaces:
XPathVariableResolver
The XPathVariableResolver implementation provides access to user
XPath variables.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected ObjectgetVariableValue(String namespace, String prefix, String localName) Retrieve an XPath's variable value using JSTL's custom variable-mapping rulesresolveVariable(QName qname) Find variable in set of variables
-
Constructor Details
-
JSTLXPathVariableResolver
-
-
Method Details
-
resolveVariable
Find variable in set of variables- Specified by:
resolveVariablein interfaceXPathVariableResolver- Parameters:
qname- QName variable name- Returns:
- QName variables value
- Throws:
NullPointerException- if variable name is null
-
getVariableValue
protected Object getVariableValue(String namespace, String prefix, String localName) throws UnresolvableException Retrieve an XPath's variable value using JSTL's custom variable-mapping rules- Throws:
UnresolvableException
-