org.apache.xalan.extensions
public class ExpressionVisitor extends XPathVisitor
Constructor Summary | |
---|---|
ExpressionVisitor(StylesheetRoot sroot)
The constructor sets the StylesheetRoot variable which
is used to register extension namespaces. |
Method Summary | |
---|---|
boolean | visitFunction(ExpressionOwner owner, Function func)
If the function is an extension function, register the namespace.
|
Parameters: sroot the StylesheetRoot that is being constructed.
Parameters: owner The current XPath object that owns the expression. func The function currently being visited.
Returns: true to continue the visit in the subtree, if any.