Uses of Class
org.apache.xpath.XPathContext

Packages that use XPathContext
org.apache.xalan.templates Implements the trax.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
 Node ElemNumber.getPreviousNode(XPathContext xctxt, Node pos)
          **For advanced use only** Get the previous node to be counted.
 Node ElemNumber.getTargetNode(XPathContext xctxt, Node sourceNode)
          **For advanced use only** Get the target node that will be counted..
 java.lang.String AVT.evaluate(XPathContext xctxt, Node context, PrefixResolver nsNode)
          **For advanced use only** Evaluate the AVT and return a String.
 ElemTemplate TemplateList.getTemplate(XPathContext xctxt, Node targetNode, QName mode, boolean quietConflictWarnings)
          **For advanced use only** 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)
          **For internal use only** Write the evaluated value into the given string buffer.
 void AVTPart.setXPathSupport(XPathContext support)
          **For internal use only** Set the XPath support.
 void AVTPartXPath.evaluate(XPathContext xctxt, FastStringBuffer buf, Node context, PrefixResolver nsNode)
          **For internal use only** Write the value into the buffer.
 XObject FuncKey.execute(XPathContext xctxt)
          **For advanced use only** Execute the function.
 XObject FuncFormatNumb.execute(XPathContext xctxt)
          **For advanced use only** Execute the function.
 void FuncFormatNumb.warn(XPathContext xctxt, int msg, java.lang.Object[] args)
          **For advanced use only** Warn the user of a problem.
 void AVTPartSimple.evaluate(XPathContext xctxt, FastStringBuffer buf, Node context, PrefixResolver nsNode)
          **For internal use only** Write the value into the buffer.
 XObject FuncDocument.execute(XPathContext xctxt)
          **For advanced use only** Execute the function.
 void FuncDocument.error(XPathContext xctxt, int msg, java.lang.Object[] args)
          **For advanced use only** Tell the user of an error, and probably throw an exception.
 void FuncDocument.warn(XPathContext xctxt, int msg, java.lang.Object[] args)
          **For advanced use only** Warn the user of a problem.
 WhiteSpaceInfo StylesheetComposed.getWhiteSpaceInfo(XPathContext support, Element targetElement)
          Get information about whether or not an element should strip whitespace.
 ElemTemplate StylesheetComposed.getTemplateComposed(XPathContext support, Node targetNode, QName mode, boolean quietConflictWarnings)
          Get an "xsl:template" property by node match.
 

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)
          **For internal use only** 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()
          **For advanced use only** Get the XML Parser Liaison that this processor uses.
 

Methods in org.apache.xalan.transformer with parameters of type XPathContext
 int CountersTable.countNode(XPathContext support, ElemNumber numberElem, Node node)
          **For internal use only** Count forward until the given node is found, or until we have looked to the given amount.
 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.setXPathContext(XPathContext xcontext)
          **For advanced 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)
           
KeyTable.KeyTable(Node doc, PrefixResolver nscontext, QName name, java.util.Vector keyDeclarations, XPathContext xmlLiaison)
          **For advanced use only** Build a keys table.
ResultTreeFrag.ResultTreeFrag(Document docFactory, XPathContext support)
          **For internal use only**  
ResultTreeFrag.ResultTreeFrag(Document docFactory, NodeSet children, XPathContext support)
          **For internal use only**  
 

Uses of XPathContext in org.apache.xpath
 

Methods in org.apache.xpath with parameters of type XPathContext
abstract  XObject Expression.execute(XPathContext xctxt)
           
 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)
          **For advanced use only** Copy NodeList members into this nodelist, adding in document order.
 void NodeSet.addNodesInDocOrder(NodeIterator iterator, XPathContext support)
          **For advanced use only** Copy NodeList members into this nodelist, adding in document order.
 int NodeSet.addNodeInDocOrder(Node node, boolean test, XPathContext support)
          **For advanced use only** Add the node into a vector of nodes where it should occur in document order.
 int NodeSet.addNodeInDocOrder(Node node, XPathContext support)
          **For advanced use only** Add the node into a vector of nodes where it should occur in document order.
 void XPathContext.copyFromOtherLiaison(XPathContext from)
          **For advanced use only** Copy attributes from another liaison.
 

Uses of XPathContext in org.apache.xpath.axes
 

Methods in org.apache.xpath.axes that return XPathContext
 XPathContext LocPathIterator.getXPathContext()
          **For advanced use only**  
 

Methods in org.apache.xpath.axes with parameters of type XPathContext
 XObject LocPathIterator.execute(XPathContext xctxt)
          **For advanced use only**  
 void LocPathIterator.initContext(XPathContext execContext)
          **For advanced use only**  
 void UnionPathIterator.initContext(XPathContext execContext)
          **For advanced use only**  
 XObject UnionPathIterator.execute(XPathContext xctxt)
          **For advanced use only**  
 int AxesWalker.getProximityPosition(XPathContext xctxt)
          Get the current sub-context position.
 int AxesWalker.getLastPos(XPathContext xctxt)
           
 int ReverseAxesWalker.getLastPos(XPathContext xctxt)
           
 int SubContextList.getLastPos(XPathContext xctxt)
           
 int SubContextList.getProximityPosition(XPathContext xctxt)
          Get the current sub-context position.
 

Uses of XPathContext in org.apache.xpath.functions
 

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

Uses of XPathContext in org.apache.xpath.patterns
 

Methods in org.apache.xpath.patterns with parameters of type XPathContext
 XObject NodeTest.execute(XPathContext xctxt)
          Test a node to see if it matches the given node test.
 XObject StepPattern.executeStep(XPathContext xctxt)
           
 int StepPattern.getProximityPosition(XPathContext xctxt)
           
 int StepPattern.getLastPos(XPathContext xctxt)
           
 XObject StepPattern.executeRelativePathPattern(XPathContext xctxt)
           
 XObject StepPattern.execute(XPathContext xctxt)
           
 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 the given node test.
 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)
           
 



Copyright © 2000 Apache XML Project. All Rights Reserved.