org.apache.xalan.templates
Class FuncDocument
- ExpressionNode, ExpressionOwner, Serializable, SourceLocator, XPathVisitable
public class FuncDocument
Execute the Doc() function.
When the document function has exactly one argument and the argument
is a node-set, then the result is the union, for each node in the
argument node-set, of the result of calling the document function with
the first argument being the string-value of the node, and the second
argument being a node-set with the node as its only member. When the
document function has two arguments and the first argument is a node-set,
then the result is the union, for each node in the argument node-set,
of the result of calling the document function with the first argument
being the string-value of the node, and with the second argument being
the second argument passed to the document function.
asIterator , asIteratorRaw , asNode , assertion , bool , canTraverseOutsideSubtree , deepEquals , error , execute , execute , execute , execute , executeCharsToContentHandler , exprAddChild , exprGetChild , exprGetNumChildren , exprGetParent , exprSetParent , fixupVariables , getColumnNumber , getExpressionOwner , getLineNumber , getPublicId , getSystemId , isNodesetExpr , isStableNumber , num , warn , xstr |
error
public void error(XPathContext xctxt,
String msg,
args[] )
throws TransformerException
Tell the user of an error, and probably throw an
exception.
xctxt
- The XPath runtime state.msg
- The error message key
isNodesetExpr
public boolean isNodesetExpr()
Tell if the expression is a nodeset expression.
- isNodesetExpr in interface Expression
- true if the expression can be represented as a nodeset.
warn
public void warn(XPathContext xctxt,
String msg,
args[] )
throws TransformerException
Warn the user of a problem.
xctxt
- The XPath runtime state.msg
- Warning message key
Copyright B) 2004 Apache XML Project. All Rights Reserved.