Class XalanUtil
- java.lang.Object
-
- org.apache.taglibs.standard.tag.common.xml.XalanUtil
-
public class XalanUtil extends Object
-
-
Constructor Summary
Constructors Constructor Description XalanUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static org.apache.xpath.XPathContext
getContext(javax.servlet.jsp.tagext.Tag child, javax.servlet.jsp.PageContext pageContext)
Return the XPathContext to be used for evaluating expressions.
-
-
-
Method Detail
-
getContext
public static org.apache.xpath.XPathContext getContext(javax.servlet.jsp.tagext.Tag child, javax.servlet.jsp.PageContext pageContext)
Return the XPathContext to be used for evaluating expressions. If the child is nested withing a forEach tag its iteration context is used. Otherwise, a new context is created based on an empty Document.- Parameters:
child
- the tag whose context should be returnedpageContext
- the current page context- Returns:
- the XPath evaluation context
-
-