Uses of Class
org.apache.xpath.XPathContext

Packages that use XPathContext
org.apache.xalan.templates Implements the Templates interface, and defines a set of classes that represent an XSLT stylesheet. 
org.apache.xalan.transformer In charge of run-time transformations and the production of result trees. 
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.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.xalan.templates
 

Methods in org.apache.xalan.templates with parameters of type XPathContext
 boolean ElemTemplateElement.shouldStripWhiteSpace(XPathContext support, Element targetElement)
          Get information about whether or not an element should strip whitespace.
 Node ElemNumber.getPreviousNode(XPathContext xctxt, Node pos)
          Get the previous node to be counted.
 Node ElemNumber.getTargetNode(XPathContext xctxt, Node sourceNode)
          Get the target node that will be counted..
 java.lang.String AVT.evaluate(XPathContext xctxt, Node context, PrefixResolver nsNode)
          Evaluate the AVT and return a String.
 org.apache.xalan.templates.TemplateSubPatternAssociation TemplateList.getHead(XPathContext xctxt, Node targetNode)
          Get the head of the most likely list of associations to check, based on the name and type of the targetNode argument.
 ElemTemplate TemplateList.getTemplate(XPathContext xctxt, Node targetNode, QName mode, int maxImportLevel, boolean quietConflictWarnings)
          Given a target element, find the template that best matches in the given XSL document, according to the rules specified in the xsl draft.
abstract  void AVTPart.evaluate(XPathContext xctxt, FastStringBuffer buf, Node context, PrefixResolver nsNode)
          Write the evaluated value into the given string buffer.
 void AVTPart.setXPathSupport(XPathContext support)
          Set the XPath support.
 void AVTPartXPath.evaluate(XPathContext xctxt, FastStringBuffer buf, Node context, PrefixResolver nsNode)
          Write the value into the buffer.
 XObject FuncKey.execute(XPathContext xctxt)
          Execute the function.
 XObject FuncFormatNumb.execute(XPathContext xctxt)
          Execute the function.
 void FuncFormatNumb.warn(XPathContext xctxt, int msg, java.lang.Object[] args)
          Warn the user of a problem.
 void AVTPartSimple.evaluate(XPathContext xctxt, FastStringBuffer buf, Node context, PrefixResolver nsNode)
          Write the value into the buffer.
 XObject FuncDocument.execute(XPathContext xctxt)
          Execute the function.
 void FuncDocument.error(XPathContext xctxt, int msg, java.lang.Object[] args)
          Tell the user of an error, and probably throw an exception.
 void FuncDocument.warn(XPathContext xctxt, int msg, java.lang.Object[] args)
          Warn the user of a problem.
 XObject XUnresolvedVariable.execute(XPathContext xctxt)
          For support of literal objects in xpaths.
 ElemTemplate StylesheetRoot.getTemplateComposed(XPathContext xctxt, Node targetNode, QName mode, int maxImportLevel, boolean quietConflictWarnings)
          Get an "xsl:template" property by node match.
 WhiteSpaceInfo StylesheetRoot.getWhiteSpaceInfo(XPathContext support, Element targetElement)
          Get information about whether or not an element should strip whitespace.
 boolean StylesheetRoot.shouldStripWhiteSpace(XPathContext support, Element targetElement)
          Get information about whether or not an element should strip whitespace.
 

Constructors in org.apache.xalan.templates with parameters of type XPathContext
AVTPartXPath.AVTPartXPath(java.lang.String val, PrefixResolver nsNode, XPathParser xpathProcessor, XPathFactory factory, XPathContext liaison)
          Construct a simple AVT part.
 

Uses of XPathContext in org.apache.xalan.transformer
 

Methods in org.apache.xalan.transformer that return XPathContext
 XPathContext TransformerImpl.getXPathContext()
          Get the XPath context associated with this transformer.
 

Methods in org.apache.xalan.transformer with parameters of type XPathContext
 int CountersTable.countNode(XPathContext support, ElemNumber numberElem, Node node)
          Count forward until the given node is found, or until we have looked to the given amount.
 void NodeSorter.sort(NodeVector v, java.util.Vector keys, XPathContext support)
          Given a vector of nodes, sort each node according to the criteria in the keys.
 LocPathIterator KeyManager.getNodeSetByKey(XPathContext xctxt, Node doc, QName name, java.lang.String ref, PrefixResolver nscontext)
          Given a valid element key, return the corresponding node list.
 void ResultTreeHandler.outputResultTreeFragment(XObject obj, XPathContext support)
          Given a result tree fragment, walk the tree and output it to the result stream.
 void TransformerImpl.pushParams(XPathContext xctxt, ElemCallTemplate xslCallTemplateElement, Node sourceNode, QName mode)
          Given a template, search for the arguments and push them on the stack.
 void TransformerImpl.setXPathContext(XPathContext xcontext)
          **For internal use only** Set the execution context for XPath.
 

Constructors in org.apache.xalan.transformer with parameters of type XPathContext
KeyIterator.KeyIterator(Node doc, PrefixResolver nscontext, QName name, java.util.Vector keyDeclarations, XPathContext xctxt)
          Constructor KeyIterator
NodeSorter.NodeSorter(XPathContext p)
          Construct a NodeSorter, passing in the XSL TransformerFactory so it can know how to get the node data according to the proper whitespace rules.
KeyTable.KeyTable(Node doc, PrefixResolver nscontext, QName name, java.util.Vector keyDeclarations, XPathContext xmlLiaison)
          Build a keys table.
 

Uses of XPathContext in org.apache.xpath
 

Methods in org.apache.xpath with parameters of type XPathContext
abstract  XObject Expression.execute(XPathContext xctxt)
          Execute an expression in the XPath runtime context, and return the result of the expression.
 void Expression.warn(XPathContext xctxt, int msg, java.lang.Object[] args)
          Warn the user of an problem.
 void Expression.error(XPathContext xctxt, int msg, java.lang.Object[] args)
          Tell the user of an error, and probably throw an exception.
 XObject XPath.execute(XPathContext xctxt, Node contextNode, PrefixResolver namespaceContext)
          **Experimental** Given an expression and a context, evaluate the XPath and call the callback as nodes are found.
 double XPath.getMatchScore(XPathContext xctxt, Node context)
          Get the match score of the given node.
 void XPath.warn(XPathContext xctxt, Node sourceNode, int msg, java.lang.Object[] args)
          Warn the user of an problem.
 void XPath.error(XPathContext xctxt, Node sourceNode, int msg, java.lang.Object[] args)
          Tell the user of an error, and probably throw an exception.
 void NodeSet.addNodesInDocOrder(NodeList nodelist, XPathContext support)
          Copy NodeList members into this nodelist, adding in document order.
 void NodeSet.addNodesInDocOrder(NodeIterator iterator, XPathContext support)
          Copy NodeList members into this nodelist, adding in document order.
 int NodeSet.addNodeInDocOrder(Node node, boolean test, XPathContext support)
          Add the node into a vector of nodes where it should occur in document order.
 int NodeSet.addNodeInDocOrder(Node node, XPathContext support)
          Add the node into a vector of nodes where it should occur in document order.
 boolean WhitespaceStrippingElementMatcher.shouldStripWhiteSpace(XPathContext support, Element targetElement)
          Get information about whether or not an element should strip whitespace.
 XObject VariableStack.getVariable(XPathContext xctxt, QName name)
          Given a name, return an object representing the value.
 

Uses of XPathContext in org.apache.xpath.axes
 

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
 int PredicatedNodeTest.getProximityPosition(XPathContext xctxt)
          Get the current sub-context position.
abstract  int PredicatedNodeTest.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.
 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.initContext(XPathContext execContext)
          Initialize the context values for this expression after it is cloned.
 int LocPathIterator.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.
 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 SubContextList.getProximityPosition(XPathContext xctxt)
          Get the current sub-context position.
 int AttributeIterator.getLastPos(XPathContext xctxt)
          Get the index of the last node that can be itterated to.
 void UnionPathIterator.initContext(XPathContext execContext)
          Initialize the context values for this expression after it is cloned.
 XObject UnionPathIterator.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.
 

Uses of XPathContext in org.apache.xpath.functions
 

Methods in org.apache.xpath.functions with parameters of type XPathContext
 XObject Function.execute(XPathContext xctxt)
          Execute an XPath function object.
 XObject FuncStartsWith.execute(XPathContext xctxt)
          Execute the function.
 XObject FuncStringLength.execute(XPathContext xctxt)
          Execute the function.
 XObject FuncNamespace.execute(XPathContext xctxt)
          Execute the function.
 XObject FuncDoclocation.execute(XPathContext xctxt)
          Execute the function.
 XObject FuncNormalizeSpace.execute(XPathContext xctxt)
          Execute the function.
 XObject FuncTranslate.execute(XPathContext xctxt)
          Execute the function.
 XObject FuncNot.execute(XPathContext xctxt)
          Execute the function.
 XObject FuncExtFunction.execute(XPathContext xctxt)
          Execute the function.
 int FuncLast.getCountOfContextNodeList(XPathContext xctxt)
          Get the position in the current context node list.
 XObject FuncLast.execute(XPathContext xctxt)
          Execute the function.
 XObject FuncGenerateId.execute(XPathContext xctxt)
          Execute the function.
 XObject FuncString.execute(XPathContext xctxt)
          Execute the function.
 XObject FuncContains.execute(XPathContext xctxt)
          Execute the function.
 XObject FuncFalse.execute(XPathContext xctxt)
          Execute the function.
 XObject FuncLocalPart.execute(XPathContext xctxt)
          Execute the function.
 XObject FuncSubstringBefore.execute(XPathContext xctxt)
          Execute the function.
 XObject FuncExtElementAvailable.execute(XPathContext xctxt)
          Execute the function.
 XObject FuncCeiling.execute(XPathContext xctxt)
          Execute the function.
 XObject FuncSubstring.execute(XPathContext xctxt)
          Execute the function.
 XObject FuncRound.execute(XPathContext xctxt)
          Execute the function.
 XObject FuncTrue.execute(XPathContext xctxt)
          Execute the function.
 XObject FuncSystemProperty.execute(XPathContext xctxt)
          Execute the function.
 int FuncPosition.getPositionInContextNodeList(XPathContext xctxt)
          Get the position in the current context node list.
 XObject FuncPosition.execute(XPathContext xctxt)
          Execute the function.
 XObject FuncLang.execute(XPathContext xctxt)
          Execute the function.
 XObject FuncSubstringAfter.execute(XPathContext xctxt)
          Execute the function.
 XObject FuncConcat.execute(XPathContext xctxt)
          Execute the function.
 XObject FuncFloor.execute(XPathContext xctxt)
          Execute the function.
 XObject FuncCurrent.execute(XPathContext xctxt)
          Execute the function.
 XObject FuncNumber.execute(XPathContext xctxt)
          Execute the function.
 XObject FuncQname.execute(XPathContext xctxt)
          Execute the function.
 XObject FuncCount.execute(XPathContext xctxt)
          Execute the function.
 XObject FuncBoolean.execute(XPathContext xctxt)
          Execute the function.
 XObject FuncUnparsedEntityURI.execute(XPathContext xctxt)
          Execute the function.
 XObject FuncSum.execute(XPathContext xctxt)
          Execute the function.
 XObject FuncId.execute(XPathContext xctxt)
          Execute the function.
 XObject FuncExtFunctionAvailable.execute(XPathContext xctxt)
          Execute the function.
 

Uses of XPathContext in org.apache.xpath.objects
 

Methods in org.apache.xpath.objects with parameters of type XPathContext
 XObject XObject.execute(XPathContext xctxt)
          For support of literal objects in xpaths.
 DocumentFragment XObject.rtree(XPathContext support)
          Cast result object to a result tree fragment.
 java.lang.Object XObject.castToType(int t, XPathContext support)
          Cast object to type t.
 DocumentFragment XString.rtree(XPathContext support)
          Cast result object to a result tree fragment.
 DocumentFragment XNull.rtree(XPathContext support)
          Cast result object to a result tree fragment.
 DocumentFragment XNodeSet.rtree(XPathContext support)
          Cast result object to a result tree fragment.
 

Uses of XPathContext in org.apache.xpath.operations
 

Methods in org.apache.xpath.operations with parameters of type XPathContext
 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 UnaryOperation.execute(XPathContext xctxt)
          Execute the operand and apply the unary operation to the result.
 XObject And.execute(XPathContext xctxt)
          AND two expressions and return the boolean result.
 XObject Or.execute(XPathContext xctxt)
          OR two expressions and return the boolean result.
 XObject Variable.execute(XPathContext xctxt)
          Dereference the variable, and return the reference value.
 

Uses of XPathContext in org.apache.xpath.patterns
 

Methods in org.apache.xpath.patterns with parameters of type XPathContext
 XObject NodeTest.execute(XPathContext xctxt, Node context)
          Tell what the test score is for the given node.
 XObject NodeTest.execute(XPathContext xctxt)
          Test the current node to see if it matches the given node test.
 XObject StepPattern.executeStep(XPathContext xctxt)
          Execute this pattern step, including predicates.
 int StepPattern.getProximityPosition(XPathContext xctxt)
          Get the proximity position index of the current node based on this node test.
 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.
 XObject StepPattern.executeRelativePathPattern(XPathContext xctxt)
          Execute the match pattern step relative to another step.
 XObject StepPattern.execute(XPathContext xctxt)
          Test the current node to see if it matches the given node test, and if it does, and there is a relative path pattern, execute that to see if it matches also.
 double StepPattern.getMatchScore(XPathContext xctxt, Node context)
          Get the match score of the given node.
 XObject FunctionPattern.execute(XPathContext xctxt)
          Test a node to see if it matches the given node test.
 XObject UnionPattern.execute(XPathContext xctxt)
          Test a node to see if it matches any of the patterns in the union.
 XObject AncestorStepPattern.execute(XPathContext xctxt)
          Overide the super method so that we can handle match patterns starting with a function such as id()/
 XObject AncestorStepPattern.executeRelativePathPattern(XPathContext xctxt)
          Execute the match pattern step relative to another step.
 



Copyright � 2000 Apache XML Project. All Rights Reserved.