jd.xml.xslt.expr
Class DocumentFunction
java.lang.Object
jd.xml.xpath.expr.ExpressionImpl
jd.xml.xpath.expr.NodeSetExpression
jd.xml.xpath.expr.function.NodeSetFunction
jd.xml.xslt.expr.DocumentFunction
- All Implemented Interfaces:
- Expression, Function, XsltFunction
- public class DocumentFunction
- extends NodeSetFunction
- implements XsltFunction
Document represents the xslt function "node-set document(object, node-set?)".
Methods inherited from class jd.xml.xpath.expr.NodeSetExpression |
canCreateModelWalker, getMaxResultSize, getMaxResultSize, getMinResultSize, getMinResultSize, getModelWalker, getResultType, toBooleanValue, toNumberValue, toStringValue, toXObject |
Methods inherited from interface jd.xml.xpath.expr.Expression |
accept, getResultType, hasContextDependencies, isUniqueFilter, matchesFilter, toBooleanValue, toNode, toNumberValue, toString, toStringValue, toXObject |
TYPE
public static final FunctionType TYPE
- The function type.
DocumentFunction
public DocumentFunction()
getFunctionType
public FunctionType getFunctionType()
- Description copied from interface:
Function
- Return the FunctionType of the Function-
- Specified by:
getFunctionType
in interface Function
getContextDependencies
public int getContextDependencies()
- Return a bitfield indicating the function dependencies.
- Specified by:
getContextDependencies
in interface Expression
- Overrides:
getContextDependencies
in class NodeSetFunction
initContextParameters
public void initContextParameters(StaticExprContext context)
- Set function parameters provided by the given expression context.
The function should not store the Context itself since its
values will change.
- Specified by:
initContextParameters
in interface XsltFunction
copyContextParameters
public void copyContextParameters(Function function)
- Specified by:
copyContextParameters
in interface XsltFunction
getDefaultBaseUri
public String getDefaultBaseUri()
toNodeSet
public XNodeSet toNodeSet(XPathContext context,
int nodeSetOrdering)
- Evaluate the function.
- Specified by:
toNodeSet
in interface Expression
- Overrides:
toNodeSet
in class ExpressionImpl