org.apache.taglibs.standard.tag.common.xml
Class XalanUtil

java.lang.Object
  extended by org.apache.taglibs.standard.tag.common.xml.XalanUtil

public class XalanUtil
extends Object


Constructor Summary
XalanUtil()
           
 
Method Summary
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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XalanUtil

public XalanUtil()
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 returned
pageContext - the current page context
Returns:
the XPath evaluation context


Copyright © 2001-2015 The Apache Software Foundation. All Rights Reserved.