|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.saxon.expr.Expression
net.sf.saxon.expr.FunctionCall
net.sf.saxon.functions.SystemFunction
net.sf.saxon.functions.Doc
public class Doc
Implement the fn:doc() function - a simplified form of the Document function
Field Summary |
---|
Fields inherited from class net.sf.saxon.expr.Expression |
---|
EVALUATE_METHOD, ITERATE_METHOD, PROCESS_METHOD |
Constructor Summary | |
---|---|
Doc()
|
Method Summary | |
---|---|
void |
checkArguments(StaticContext env)
Method called during static type checking |
int |
computeCardinality()
Determine the cardinality of the function. |
int |
computeSpecialProperties()
Get the static properties of this expression (other than its type). |
Item |
evaluateItem(XPathContext context)
Evaluate the expression |
String |
getStaticBaseURI()
Get the static base URI of the expression |
Expression |
preEvaluate(StaticContext env)
preEvaluate: this method suppresses compile-time evaluation by doing nothing |
void |
sendDocument(XPathContext context,
Receiver out)
Copy the document identified by this expression to a given Receiver. |
Methods inherited from class net.sf.saxon.functions.SystemFunction |
---|
display, getDetails, getErrorCodeForTypeErrors, getItemType, main, makeSystemFunction, optimize, setDetails |
Methods inherited from class net.sf.saxon.expr.FunctionCall |
---|
getArguments, getDisplayName, getFunctionNameCode, getNumberOfArguments, iterateSubExpressions, promote, replaceSubExpression, setArguments, setFunctionNameCode, simplify, typeCheck |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Doc()
Method Detail |
---|
public void checkArguments(StaticContext env) throws XPathException
SystemFunction
checkArguments
in class SystemFunction
XPathException
public String getStaticBaseURI()
public Expression preEvaluate(StaticContext env)
preEvaluate
in class FunctionCall
public int computeCardinality()
SystemFunction
computeCardinality
in class SystemFunction
public Item evaluateItem(XPathContext context) throws XPathException
evaluateItem
in interface EvaluableItem
evaluateItem
in class Expression
context
-
XPathException
public int computeSpecialProperties()
computeSpecialProperties
in class SystemFunction
public void sendDocument(XPathContext context, Receiver out) throws XPathException
XPathException
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |