com.caucho.xsl.fun
Class DocumentFun

java.lang.Object
  extended by com.caucho.xpath.XPathFun
      extended by com.caucho.xsl.fun.DocumentFun

public class DocumentFun
extends XPathFun

The document(...) function.


Constructor Summary
DocumentFun(TransformerImpl transformer)
           
 
Method Summary
 java.lang.Object eval(org.w3c.dom.Node node, ExprEnvironment env, AbstractPattern pattern, java.util.ArrayList args)
          Evaluate the function.
 void setHtml(boolean isHtml)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DocumentFun

public DocumentFun(TransformerImpl transformer)
Method Detail

setHtml

public void setHtml(boolean isHtml)

eval

public java.lang.Object eval(org.w3c.dom.Node node,
                             ExprEnvironment env,
                             AbstractPattern pattern,
                             java.util.ArrayList args)
                      throws XPathException
Evaluate the function.

Specified by:
eval in class XPathFun
Parameters:
pattern - The context pattern.
args - The evaluated arguments
Throws:
XPathException