net.sf.saxon.functions

Class DocAvailable

public class DocAvailable extends SystemFunction

Implement the fn:doc-available() function
Method Summary
voidcheckArguments(ExpressionVisitor visitor)
ItemevaluateItem(XPathContext context)
Evaluate the expression
StringgetStaticBaseURI()
Get the static base URI of the expression
ExpressionpreEvaluate(ExpressionVisitor visitor)
preEvaluate: this method suppresses compile-time evaluation by doing nothing

Method Detail

checkArguments

public void checkArguments(ExpressionVisitor visitor)

evaluateItem

public Item evaluateItem(XPathContext context)
Evaluate the expression

Parameters: context

Returns: the result of evaluating the expression (a BooleanValue)

Throws: net.sf.saxon.trans.XPathException

getStaticBaseURI

public String getStaticBaseURI()
Get the static base URI of the expression

preEvaluate

public Expression preEvaluate(ExpressionVisitor visitor)
preEvaluate: this method suppresses compile-time evaluation by doing nothing

Parameters: visitor an expression visitor