jd.xml.xpath.expr.function
Class Id

java.lang.Object
  extended byjd.xml.xpath.expr.ExpressionImpl
      extended byjd.xml.xpath.expr.NodeSetExpression
          extended byjd.xml.xpath.expr.function.NodeSetFunction
              extended byjd.xml.xpath.expr.function.Id
All Implemented Interfaces:
Expression, Function

public class Id
extends NodeSetFunction

Id represents the xpath core function "node-set id(object)".


Field Summary
static FunctionType TYPE
          The function type.
 
Fields inherited from class jd.xml.xpath.expr.function.NodeSetFunction
arguments_
 
Fields inherited from interface jd.xml.xpath.expr.function.Function
NULL_ARGUMENTS
 
Fields inherited from interface jd.xml.xpath.expr.Expression
DEP_CONTEXT_NODE, DEP_CONTEXT_POSITION, DEP_CONTEXT_SIZE, DEP_CONTEXT_STATIC, DEP_NONE, DEP_UNKNOWN
 
Constructor Summary
Id()
           
 
Method Summary
 int getContextDependencies()
          Return a bitfield indicating the expression dependencies on the XPath context.
 FunctionType getFunctionType()
          Return the FunctionType of the Function-
 XNodeSet toNodeSet(XPathContext context, int nodeSetOrdering)
          Evaluate the Expression to a XNodeSet.
 void toNodeSet(XPathRootNode root, String ids, XMutableNodeSet result)
           
 
Methods inherited from class jd.xml.xpath.expr.function.NodeSetFunction
accept, getArgument, setArguments
 
Methods inherited from class jd.xml.xpath.expr.NodeSetExpression
canCreateModelWalker, getMaxResultSize, getMaxResultSize, getMinResultSize, getMinResultSize, getModelWalker, getResultType, toBooleanValue, toNumberValue, toStringValue, toXObject
 
Methods inherited from class jd.xml.xpath.expr.ExpressionImpl
hasContextDependencies, isUniqueFilter, matchesFilter, toNode, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface jd.xml.xpath.expr.Expression
getResultType, hasContextDependencies, isUniqueFilter, matchesFilter, toBooleanValue, toNode, toNumberValue, toString, toStringValue, toXObject
 

Field Detail

TYPE

public static final FunctionType TYPE
The function type.

Constructor Detail

Id

public Id()
Method Detail

getFunctionType

public FunctionType getFunctionType()
Description copied from interface: Function
Return the FunctionType of the Function-


getContextDependencies

public int getContextDependencies()
Description copied from interface: Expression
Return a bitfield indicating the expression dependencies on the XPath context.

Specified by:
getContextDependencies in interface Expression
Overrides:
getContextDependencies in class NodeSetFunction

toNodeSet

public XNodeSet toNodeSet(XPathContext context,
                          int nodeSetOrdering)
Description copied from interface: Expression
Evaluate the Expression to a XNodeSet.

Specified by:
toNodeSet in interface Expression
Overrides:
toNodeSet in class ExpressionImpl

toNodeSet

public void toNodeSet(XPathRootNode root,
                      String ids,
                      XMutableNodeSet result)