net.sf.saxon.functions

Class Parse

public class Parse extends SystemFunction

This class implements the saxon:parse() extension function, which is specially-recognized by the system because it needs access to parts of the static context
Field Summary
StringbaseURI
Method Summary
voidcheckArguments(StaticContext env)
Method supplied by each class of function to check arguments during parsing, when all the argument expressions have been read
ItemevaluateItem(XPathContext c)
Evaluate in a general context
ExpressionpreEvaluate(StaticContext env)
Pre-evaluate a function at compile time.

Field Detail

baseURI

String baseURI

Method Detail

checkArguments

public void checkArguments(StaticContext env)
Method supplied by each class of function to check arguments during parsing, when all the argument expressions have been read

evaluateItem

public Item evaluateItem(XPathContext c)
Evaluate in a general context

preEvaluate

public Expression preEvaluate(StaticContext env)
Pre-evaluate a function at compile time. Static evaluation is suppressed for saxon:parse because no controller is available.