Uses of Class
org.apache.xpath.XPathContext

Packages that use XPathContext
org.apache.xpath Implementation of XPath; for the most part, only classes meant for public use are found at this root level of the XPath packages. 
org.apache.xpath.axes Implementation of XPath LocationPath support -- primary classes are LocPathIterator and UnionPathIterator. 
org.apache.xpath.functions Implements XPath functions -- each function is derived from Function, FunctionOneArg, Function2Args, etc, with number-of-arguments checking being applied mainly at compile time -- this package only implements XPath functions, XSLT functions are found in the "templates" package. 
org.apache.xpath.jaxp   
org.apache.xpath.objects Implementation of XPath polymorphic type objects -- this package will grow as XPath objects are expanded to support XML Schema data types. 
org.apache.xpath.operations Support for XPath operations, such as +, -, string(), etc. 
org.apache.xpath.patterns Implementation of XPath nodeTest support, and XSLT pattern matching support. 
 

Uses of XPathContext in org.apache.xpath
 

Fields in org.apache.xpath declared as XPathContext
protected  XPathContext CachedXPathAPI.xpathSupport
          XPathContext, and thus the document model system (DTMs), persists through multiple calls to this object.
 

Methods in org.apache.xpath that return XPathContext
 XPathContext XPathContext.XPathExpressionContext.getXPathContext()
          Return the XPathContext associated with this XPathExpressionContext.
 XPathContext CachedXPathAPI.getXPathContext()
          Returns the XPathSupport object used in this CachedXPathAPI %REVIEW% I'm somewhat concerned about the loss of encapsulation this causes, but the xml-security folks say they need it.
 

Methods in org.apache.xpath with parameters of type XPathContext
 int NodeSetDTM.addNodeInDocOrder(int node, boolean test, XPathContext support)
          Add the node into a vector of nodes where it should occur in document order.
 int NodeSetDTM.addNodeInDocOrder(int node, XPathContext support)
          Add the node into a vector of nodes where it should occur in document order.
 int NodeSet.addNodeInDocOrder(org.w3c.dom.Node node, boolean test, XPathContext support)
          Add the node into a vector of nodes where it should occur in document order.
 int NodeSet.addNodeInDocOrder(org.w3c.dom.Node node, XPathContext support)
          Add the node into a vector of nodes where it should occur in document order.
 void NodeSetDTM.addNodesInDocOrder(DTMIterator iterator, XPathContext support)
          Copy NodeList members into this nodelist, adding in document order.
private  boolean NodeSet.addNodesInDocOrder(int start, int end, int testIndex, org.w3c.dom.NodeList nodelist, XPathContext support)
          Add the node list to this node set in document order.
 void NodeSet.addNodesInDocOrder(org.w3c.dom.traversal.NodeIterator iterator, XPathContext support)
          Copy NodeList members into this nodelist, adding in document order.
 void NodeSet.addNodesInDocOrder(org.w3c.dom.NodeList nodelist, XPathContext support)
          Copy NodeList members into this nodelist, adding in document order.
 DTMIterator Expression.asIterator(XPathContext xctxt, int contextNode)
          Given an select expression and a context, evaluate the XPath and return the resulting iterator.
 DTMIterator Expression.asIteratorRaw(XPathContext xctxt, int contextNode)
          Given an select expression and a context, evaluate the XPath and return the resulting iterator, but do not clone.
 int Expression.asNode(XPathContext xctxt)
          Return the first node out of the nodeset, if this expression is a nodeset expression.
 boolean Expression.bool(XPathContext xctxt)
          Evaluate expression to a boolean.
 boolean XPath.bool(XPathContext xctxt, int contextNode, PrefixResolver namespaceContext)
          Given an expression and a context, evaluate the XPath and return the result.
 void XPath.error(XPathContext xctxt, int sourceNode, java.lang.String msg, java.lang.Object[] args)
          Tell the user of an error, and probably throw an exception.
 void Expression.error(XPathContext xctxt, java.lang.String msg, java.lang.Object[] args)
          Tell the user of an error, and probably throw an exception.
abstract  XObject Expression.execute(XPathContext xctxt)
          Execute an expression in the XPath runtime context, and return the result of the expression.
 XObject Expression.execute(XPathContext xctxt, boolean destructiveOK)
          Execute an expression in the XPath runtime context, and return the result of the expression, but tell that a "safe" object doesn't have to be returned.
 XObject Expression.execute(XPathContext xctxt, int currentNode)
          Execute an expression in the XPath runtime context, and return the result of the expression.
 XObject Expression.execute(XPathContext xctxt, int currentNode, DTM dtm, int expType)
          Execute an expression in the XPath runtime context, and return the result of the expression.
 XObject XPath.execute(XPathContext xctxt, int contextNode, PrefixResolver namespaceContext)
          Given an expression and a context, evaluate the XPath and return the result.
 XObject XPath.execute(XPathContext xctxt, org.w3c.dom.Node contextNode, PrefixResolver namespaceContext)
          Given an expression and a context, evaluate the XPath and return the result.
 void Expression.executeCharsToContentHandler(XPathContext xctxt, org.xml.sax.ContentHandler handler)
          Execute an expression in the XPath runtime context, and return the result of the expression.
 XObject VariableStack.getGlobalVariable(XPathContext xctxt, int index)
          Get a global variable or parameter from the global stack frame.
 XObject VariableStack.getGlobalVariable(XPathContext xctxt, int index, boolean destructiveOK)
          Get a global variable or parameter from the global stack frame.
 XObject VariableStack.getLocalVariable(XPathContext xctxt, int index)
          Get a local variable or parameter in the current stack frame.
 XObject VariableStack.getLocalVariable(XPathContext xctxt, int index, boolean destructiveOK)
          Get a local variable or parameter in the current stack frame.
 double XPath.getMatchScore(XPathContext xctxt, int context)
          Get the match score of the given node.
 int SourceTreeManager.getSourceTree(javax.xml.transform.Source source, javax.xml.transform.SourceLocator locator, XPathContext xctxt)
          Get the source tree from the input source.
 int SourceTreeManager.getSourceTree(java.lang.String base, java.lang.String urlString, javax.xml.transform.SourceLocator locator, XPathContext xctxt)
          Get the source tree from the a base URL and a URL string.
 XObject VariableStack.getVariableOrParam(XPathContext xctxt, QName qname)
          Get a variable based on it's qualified name.
 double Expression.num(XPathContext xctxt)
          Evaluate expression to a number.
 int SourceTreeManager.parseToNode(javax.xml.transform.Source source, javax.xml.transform.SourceLocator locator, XPathContext xctxt)
          Try to create a DOM source tree from the input source.
 boolean WhitespaceStrippingElementMatcher.shouldStripWhiteSpace(XPathContext support, org.w3c.dom.Element targetElement)
          Get information about whether or not an element should strip whitespace.
 void XPath.warn(XPathContext xctxt, int sourceNode, java.lang.String msg, java.lang.Object[] args)
          Warn the user of an problem.
 void Expression.warn(XPathContext xctxt, java.lang.String msg, java.lang.Object[] args)
          Warn the user of an problem.
 XMLString Expression.xstr(XPathContext xctxt)
          Cast result object to a string.
 

Constructors in org.apache.xpath with parameters of type XPathContext
NodeSetDTM(org.w3c.dom.traversal.NodeIterator iterator, XPathContext xctxt)
          Create a NodeSetDTM, and copy the members of the given DTMIterator into it.
NodeSetDTM(org.w3c.dom.NodeList nodeList, XPathContext xctxt)
          Create a NodeSetDTM, and copy the members of the given DTMIterator into it.
 

Uses of XPathContext in org.apache.xpath.axes
 

Fields in org.apache.xpath.axes declared as XPathContext
protected  XPathContext LocPathIterator.m_execContext
          The XPathContext reference, needed for execution of many operations.
 

Methods in org.apache.xpath.axes that return XPathContext
 XPathContext LocPathIterator.getXPathContext()
          The XPath execution context we are operating on.
 

Methods in org.apache.xpath.axes with parameters of type XPathContext
 short MatchPatternIterator.acceptNode(int n, XPathContext xctxt)
          Test whether a specified node is visible in the logical view of a TreeWalker or NodeIterator.
 DTMIterator LocPathIterator.asIterator(XPathContext xctxt, int contextNode)
          Given an select expression and a context, evaluate the XPath and return the resulting iterator.
 int SelfIteratorNoPredicate.asNode(XPathContext xctxt)
          Return the first node out of the nodeset, if this expression is a nodeset expression.
 int LocPathIterator.asNode(XPathContext xctxt)
          Return the first node out of the nodeset, if this expression is a nodeset expression.
 int DescendantIterator.asNode(XPathContext xctxt)
          Return the first node out of the nodeset, if this expression is a nodeset expression.
 int ChildIterator.asNode(XPathContext xctxt)
          Return the first node out of the nodeset, if this expression is a nodeset expression.
 boolean LocPathIterator.bool(XPathContext xctxt)
          Evaluate this operation directly to a boolean.
 XObject LocPathIterator.execute(XPathContext xctxt)
          Execute this iterator, meaning create a clone that can store state, and initialize it for fast execution from the current runtime state.
 void LocPathIterator.executeCharsToContentHandler(XPathContext xctxt, org.xml.sax.ContentHandler handler)
          Execute an expression in the XPath runtime context, and return the result of the expression.
static XNodeSet FilterExprIteratorSimple.executeFilterExpr(int context, XPathContext xctxt, PrefixResolver prefixResolver, boolean isTopLevel, int stackFrame, Expression expr)
          Execute the expression.
(package private)  boolean PredicatedNodeTest.executePredicates(int context, XPathContext xctxt)
          Process the predicates.
 int SubContextList.getLastPos(XPathContext xctxt)
          Get the number of nodes in the node list, which, in the XSLT 1 based counting system, is the last index position.
 int SelfIteratorNoPredicate.getLastPos(XPathContext xctxt)
          Get the index of the last node that can be itterated to.
 int ReverseAxesWalker.getLastPos(XPathContext xctxt)
          Get the number of nodes in this node list.
abstract  int PredicatedNodeTest.getLastPos(XPathContext xctxt)
          Get the index of the last node that can be itterated to.
 int LocPathIterator.getLastPos(XPathContext xctxt)
           
 int FilterExprWalker.getLastPos(XPathContext xctxt)
          Get the index of the last node that can be itterated to.
 int AxesWalker.getLastPos(XPathContext xctxt)
          Get the index of the last node that can be itterated to.
 int SubContextList.getProximityPosition(XPathContext xctxt)
          Get the current sub-context position.
 int PredicatedNodeTest.getProximityPosition(XPathContext xctxt)
          Get the current sub-context position.
 

Constructors in org.apache.xpath.axes with parameters of type XPathContext
NodeSequence(DTMIterator iter, int context, XPathContext xctxt, boolean shouldCacheNodes)
          Create a new NodeSequence from a (already cloned) iterator.
 

Uses of XPathContext in org.apache.xpath.functions
 

Methods in org.apache.xpath.functions with parameters of type XPathContext
 XObject FuncUnparsedEntityURI.execute(XPathContext xctxt)
          Execute the function.
 XObject FuncTrue.execute(XPathContext xctxt)
          Execute the function.
 XObject FuncTranslate.execute(XPathContext xctxt)
          Execute the function.
 XObject Function.execute(XPathContext xctxt)
          Execute an XPath function object.
 XObject FuncSystemProperty.execute(XPathContext xctxt)
          Execute the function.
 XObject FuncSum.execute(XPathContext xctxt)
          Execute the function.
 XObject FuncSubstringBefore.execute(XPathContext xctxt)
          Execute the function.
 XObject FuncSubstringAfter.execute(XPathContext xctxt)
          Execute the function.
 XObject FuncSubstring.execute(XPathContext xctxt)
          Execute the function.
 XObject FuncStringLength.execute(XPathContext xctxt)
          Execute the function.
 XObject FuncString.execute(XPathContext xctxt)
          Execute the function.
 XObject FuncStartsWith.execute(XPathContext xctxt)
          Execute the function.
 XObject FuncRound.execute(XPathContext xctxt)
          Execute the function.
 XObject FuncQname.execute(XPathContext xctxt)
          Execute the function.
 XObject FuncPosition.execute(XPathContext xctxt)
          Execute the function.
 XObject FuncNumber.execute(XPathContext xctxt)
          Execute the function.
 XObject FuncNot.execute(XPathContext xctxt)
          Execute the function.
 XObject FuncNormalizeSpace.execute(XPathContext xctxt)
          Execute the function.
 XObject FuncNamespace.execute(XPathContext xctxt)
          Execute the function.
 XObject FuncLocalPart.execute(XPathContext xctxt)
          Execute the function.
 XObject FuncLast.execute(XPathContext xctxt)
          Execute the function.
 XObject FuncLang.execute(XPathContext xctxt)
          Execute the function.
 XObject FuncId.execute(XPathContext xctxt)
          Execute the function.
 XObject FuncGenerateId.execute(XPathContext xctxt)
          Execute the function.
 XObject FuncFloor.execute(XPathContext xctxt)
          Execute the function.
 XObject FuncFalse.execute(XPathContext xctxt)
          Execute the function.
 XObject FuncExtFunctionAvailable.execute(XPathContext xctxt)
          Execute the function.
 XObject FuncExtFunction.execute(XPathContext xctxt)
          Execute the function.
 XObject FuncExtElementAvailable.execute(XPathContext xctxt)
          Execute the function.
 XObject FuncDoclocation.execute(XPathContext xctxt)
          Execute the function.
 XObject FuncCurrent.execute(XPathContext xctxt)
          Execute the function.
 XObject FuncCount.execute(XPathContext xctxt)
          Execute the function.
 XObject FuncContains.execute(XPathContext xctxt)
          Execute the function.
 XObject FuncConcat.execute(XPathContext xctxt)
          Execute the function.
 XObject FuncCeiling.execute(XPathContext xctxt)
          Execute the function.
 XObject FuncBoolean.execute(XPathContext xctxt)
          Execute the function.
 void FuncNormalizeSpace.executeCharsToContentHandler(XPathContext xctxt, org.xml.sax.ContentHandler handler)
          Execute an expression in the XPath runtime context, and return the result of the expression.
protected  int FunctionDef1Arg.getArg0AsNode(XPathContext xctxt)
          Execute the first argument expression that is expected to return a nodeset.
protected  double FunctionDef1Arg.getArg0AsNumber(XPathContext xctxt)
          Execute the first argument expression that is expected to return a number.
protected  XMLString FunctionDef1Arg.getArg0AsString(XPathContext xctxt)
          Execute the first argument expression that is expected to return a string.
 int FuncLast.getCountOfContextNodeList(XPathContext xctxt)
          Get the position in the current context node list.
private  StringVector FuncId.getNodesByID(XPathContext xctxt, int docContext, java.lang.String refval, StringVector usedrefs, NodeSetDTM nodeSet, boolean mayBeMore)
          Fill in a list with nodes that match a space delimited list if ID ID references.
 int FuncPosition.getPositionInContextNodeList(XPathContext xctxt)
          Get the position in the current context node list.
 

Uses of XPathContext in org.apache.xpath.jaxp
 

Methods in org.apache.xpath.jaxp with parameters of type XPathContext
 XObject JAXPVariableStack.getVariableOrParam(XPathContext xctxt, QName qname)
           
 

Uses of XPathContext in org.apache.xpath.objects
 

Fields in org.apache.xpath.objects declared as XPathContext
private  XPathContext DTMXRTreeFrag.m_xctxt
           
 

Methods in org.apache.xpath.objects that return XPathContext
(package private)  XPathContext DTMXRTreeFrag.getXPathContext()
           
 

Methods in org.apache.xpath.objects with parameters of type XPathContext
 java.lang.Object XObject.castToType(int t, XPathContext support)
          Cast object to type t.
static XObject XObjectFactory.create(java.lang.Object val, XPathContext xctxt)
          Create the right XObject based on the type of the object passed.
static XObject XObject.create(java.lang.Object val, XPathContext xctxt)
          Create the right XObject based on the type of the object passed.
 XObject XRTreeFragSelectWrapper.execute(XPathContext xctxt)
          For support of literal objects in xpaths.
 XObject XObject.execute(XPathContext xctxt)
          For support of literal objects in xpaths.
private  void XRTreeFrag.initDTM(int root, XPathContext xctxt)
           
 double XNumber.num(XPathContext xctxt)
          Evaluate expression to a number.
 int XString.rtf(XPathContext support)
          Cast result object to a result tree fragment.
 int XObject.rtf(XPathContext support)
          Cast result object to a result tree fragment.
 int XNull.rtf(XPathContext support)
          Cast result object to a result tree fragment.
 org.w3c.dom.DocumentFragment XObject.rtree(XPathContext support)
          Cast result object to a result tree fragment.
 

Constructors in org.apache.xpath.objects with parameters of type XPathContext
DTMXRTreeFrag(int dtmIdentity, XPathContext xctxt)
           
XNodeSetForDOM(org.w3c.dom.traversal.NodeIterator nodeIter, XPathContext xctxt)
           
XNodeSetForDOM(org.w3c.dom.NodeList nodeList, XPathContext xctxt)
           
XRTreeFrag(int root, XPathContext xctxt)
          Create an XRTreeFrag Object.
XRTreeFrag(int root, XPathContext xctxt, ExpressionNode parent)
          Create an XRTreeFrag Object.
 

Uses of XPathContext in org.apache.xpath.operations
 

Methods in org.apache.xpath.operations with parameters of type XPathContext
 boolean Or.bool(XPathContext xctxt)
          Evaluate this operation directly to a boolean.
 boolean Equals.bool(XPathContext xctxt)
          Execute a binary operation by calling execute on each of the operands, and then calling the operate method on the derived class.
 boolean Bool.bool(XPathContext xctxt)
          Evaluate this operation directly to a boolean.
 boolean And.bool(XPathContext xctxt)
          Evaluate this operation directly to a boolean.
 XObject Variable.execute(XPathContext xctxt)
          Execute an expression in the XPath runtime context, and return the result of the expression.
 XObject UnaryOperation.execute(XPathContext xctxt)
          Execute the operand and apply the unary operation to the result.
 XObject Or.execute(XPathContext xctxt)
          OR two expressions and return the boolean result.
 XObject Operation.execute(XPathContext xctxt)
          Execute a binary operation by calling execute on each of the operands, and then calling the operate method on the derived class.
 XObject And.execute(XPathContext xctxt)
          AND two expressions and return the boolean result.
 XObject VariableSafeAbsRef.execute(XPathContext xctxt, boolean destructiveOK)
          Dereference the variable, and return the reference value.
 XObject Variable.execute(XPathContext xctxt, boolean destructiveOK)
          Dereference the variable, and return the reference value.
 double Plus.num(XPathContext xctxt)
          Evaluate this operation directly to a double.
 double Number.num(XPathContext xctxt)
          Evaluate this operation directly to a double.
 double Neg.num(XPathContext xctxt)
          Evaluate this operation directly to a double.
 double Mult.num(XPathContext xctxt)
          Evaluate this operation directly to a double.
 double Mod.num(XPathContext xctxt)
          Evaluate this operation directly to a double.
 double Minus.num(XPathContext xctxt)
          Evaluate this operation directly to a double.
 double Div.num(XPathContext xctxt)
          Evaluate this operation directly to a double.
 

Uses of XPathContext in org.apache.xpath.patterns
 

Methods in org.apache.xpath.patterns with parameters of type XPathContext
private  boolean StepPattern.checkProximityPosition(XPathContext xctxt, int predPos, DTM dtm, int context, int pos)
          New Method to check whether the current node satisfies a position predicate
 XObject UnionPattern.execute(XPathContext xctxt)
          Test a node to see if it matches any of the patterns in the union.
 XObject StepPattern.execute(XPathContext xctxt)
          Execute this pattern step, including predicates.
 XObject NodeTest.execute(XPathContext xctxt)
          Test the current node to see if it matches the given node test.
 XObject FunctionPattern.execute(XPathContext xctxt)
          Test a node to see if it matches the given node test.
 XObject ContextMatchStepPattern.execute(XPathContext xctxt)
          Execute this pattern step, including predicates.
 XObject StepPattern.execute(XPathContext xctxt, int currentNode)
          Execute this pattern step, including predicates.
 XObject NodeTest.execute(XPathContext xctxt, int context)
          Tell what the test score is for the given node.
 XObject FunctionPattern.execute(XPathContext xctxt, int context)
          Test a node to see if it matches the given node test.
 XObject StepPattern.execute(XPathContext xctxt, int currentNode, DTM dtm, int expType)
          Execute an expression in the XPath runtime context, and return the result of the expression.
 XObject NodeTest.execute(XPathContext xctxt, int context, DTM dtm, int expType)
          Tell what the test score is for the given node.
 XObject FunctionPattern.execute(XPathContext xctxt, int context, DTM dtm, int expType)
          Test a node to see if it matches the given node test.
protected  boolean StepPattern.executePredicates(XPathContext xctxt, DTM dtm, int currentNode)
          Execute the predicates on this step to determine if the current node should be filtered or accepted.
protected  XObject StepPattern.executeRelativePathPattern(XPathContext xctxt, DTM dtm, int currentNode)
          Execute the match pattern step relative to another step.
 XObject ContextMatchStepPattern.executeRelativePathPattern(XPathContext xctxt, StepPattern prevStep)
          Execute the match pattern step relative to another step.
 int StepPattern.getLastPos(XPathContext xctxt)
          Get the count of the nodes that match the test, which is the proximity position of the last node that can pass this test in the sub context selection.
 double StepPattern.getMatchScore(XPathContext xctxt, int context)
          Get the match score of the given node.
 int StepPattern.getProximityPosition(XPathContext xctxt)
          Get the proximity position index of the current node based on this node test.
private  int StepPattern.getProximityPosition(XPathContext xctxt, int predPos, boolean findLast)
          Get the proximity position index of the current node based on this node test.