BEA Systems, Inc.

WebLogic Server 6.1 API Reference

Uses of Class
weblogic.apache.xpath.XPathContext

Packages that use XPathContext
weblogic.apache.xalan.templates   
weblogic.apache.xalan.transformer   
weblogic.apache.xalan.xpath   
weblogic.apache.xpath   
weblogic.apache.xpath.axes   
weblogic.apache.xpath.functions   
weblogic.apache.xpath.objects   
weblogic.apache.xpath.operations   
weblogic.apache.xpath.patterns   
 

Uses of XPathContext in weblogic.apache.xalan.templates
 

Methods in weblogic.apache.xalan.templates with parameters of type XPathContext
 boolean ElemTemplateElement.shouldStripWhiteSpace(XPathContext support, org.w3c.dom.Element targetElement)
          Get information about whether or not an element should strip whitespace.
protected  org.w3c.dom.traversal.NodeIterator ElemForEach.sortNodes(XPathContext xctxt, java.util.Vector keys, org.w3c.dom.traversal.NodeIterator sourceNodes)
          Sort given nodes
 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.
abstract  void AVTPart.evaluate(XPathContext xctxt, FastStringBuffer buf, org.w3c.dom.Node context, PrefixResolver nsNode)
          Write the evaluated value into the given string buffer.
 void AVTPart.setXPathSupport(XPathContext support)
          Set the XPath support.
 java.lang.String AVT.evaluate(XPathContext xctxt, org.w3c.dom.Node context, PrefixResolver nsNode)
          Evaluate the AVT and return a String.
 ElemTemplate StylesheetRoot.getTemplateComposed(XPathContext xctxt, org.w3c.dom.Node targetNode, QName mode, int maxImportLevel, boolean quietConflictWarnings)
          Get an "xsl:template" property by node match.
 WhiteSpaceInfo StylesheetRoot.getWhiteSpaceInfo(XPathContext support, org.w3c.dom.Element targetElement)
          Get information about whether or not an element should strip whitespace.
 boolean StylesheetRoot.shouldStripWhiteSpace(XPathContext support, org.w3c.dom.Element targetElement)
          Get information about whether or not an element should strip whitespace.
 org.w3c.dom.Node ElemNumber.getPreviousNode(XPathContext xctxt, org.w3c.dom.Node pos)
          Get the previous node to be counted.
 org.w3c.dom.Node ElemNumber.getTargetNode(XPathContext xctxt, org.w3c.dom.Node sourceNode)
          Get the target node that will be counted..
 void AVTPartXPath.evaluate(XPathContext xctxt, FastStringBuffer buf, org.w3c.dom.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 FuncKey.execute(XPathContext xctxt)
          Execute the function.
 void AVTPartSimple.evaluate(XPathContext xctxt, FastStringBuffer buf, org.w3c.dom.Node context, PrefixResolver nsNode)
          Write the value into the buffer.
 XObject XUnresolvedVariable.execute(XPathContext xctxt)
          For support of literal objects in xpaths.
 weblogic.apache.xalan.templates.TemplateSubPatternAssociation TemplateList.getHead(XPathContext xctxt, org.w3c.dom.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, org.w3c.dom.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.
 

Constructors in weblogic.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 weblogic.apache.xalan.transformer
 

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

Methods in weblogic.apache.xalan.transformer with parameters of type XPathContext
 void ResultTreeHandler.outputResultTreeFragment(XObject obj, XPathContext support)
          Given a result tree fragment, walk the tree and output it to the result stream.
 LocPathIterator KeyManager.getNodeSetByKey(XPathContext xctxt, org.w3c.dom.Node doc, QName name, java.lang.String ref, PrefixResolver nscontext)
          Given a valid element key, return the corresponding node list.
 void TransformerImpl.pushParams(XPathContext xctxt, ElemCallTemplate xslCallTemplateElement, org.w3c.dom.Node sourceNode, QName mode)
          Given a template, search for the arguments and push them on the stack.
 void TransformerImpl.setXPathContext(XPathContext xcontext)
           Set the execution context for XPath.
 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.
 int CountersTable.countNode(XPathContext support, ElemNumber numberElem, org.w3c.dom.Node node)
          Count forward until the given node is found, or until we have looked to the given amount.
 

Constructors in weblogic.apache.xalan.transformer with parameters of type XPathContext
KeyIterator.KeyIterator(org.w3c.dom.Node doc, PrefixResolver nscontext, QName name, java.util.Vector keyDeclarations, XPathContext xctxt)
          Constructor KeyIterator
KeyTable.KeyTable(org.w3c.dom.Node doc, PrefixResolver nscontext, QName name, java.util.Vector keyDeclarations, XPathContext xmlLiaison)
          Build a keys table.
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.
 

Uses of XPathContext in weblogic.apache.xalan.xpath
 

Subclasses of XPathContext in weblogic.apache.xalan.xpath
 class XPathSupportDefault
           Default class for execution context when XPath is used by itself.
 

Methods in weblogic.apache.xalan.xpath with parameters of type XPathContext
 org.w3c.dom.DocumentFragment XNodeSet.rtree(XPathContext support)
          Cast result object to a result tree fragment.
 org.w3c.dom.DocumentFragment XNull.rtree(XPathContext support)
          Cast result object to a result tree fragment.
 org.w3c.dom.DocumentFragment XString.rtree(XPathContext support)
          Cast result object to a result tree fragment.
 

Uses of XPathContext in weblogic.apache.xpath
 

Methods in weblogic.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.
 void NodeSet.addNodesInDocOrder(org.w3c.dom.NodeList nodelist, XPathContext support)
          Copy NodeList members into this nodelist, adding in document order.
 void NodeSet.addNodesInDocOrder(org.w3c.dom.traversal.NodeIterator iterator, XPathContext support)
          Copy NodeList members into this nodelist, adding 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.
 XObject XPath.execute(XPathContext xctxt, org.w3c.dom.Node contextNode, PrefixResolver namespaceContext)
           Given an expression and a context, evaluate the XPath and call the callback as nodes are found.
 double XPath.getMatchScore(XPathContext xctxt, org.w3c.dom.Node context)
          Get the match score of the given node.
 void XPath.warn(XPathContext xctxt, org.w3c.dom.Node sourceNode, int msg, java.lang.Object[] args)
          Warn the user of an problem.
 void XPath.error(XPathContext xctxt, org.w3c.dom.Node sourceNode, int msg, java.lang.Object[] args)
          Tell the user of an error, and probably throw an exception.
 boolean WhitespaceStrippingElementMatcher.shouldStripWhiteSpace(XPathContext support, org.w3c.dom.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 weblogic.apache.xpath.axes
 

Fields in weblogic.apache.xpath.axes declared as XPathContext
protected  XPathContext LocPathIterator.m_execContext
          The XPathContext reference, needed for execution of many operations.
protected  XPathContext UnionPathIterator.m_execContext
          The execution context for the expression.
 

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

Methods in weblogic.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.
 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 AxesWalker.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 AttributeIterator.getLastPos(XPathContext xctxt)
          Get the index of the last node that can be itterated to.
 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.
 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 weblogic.apache.xpath.functions
 

Methods in weblogic.apache.xpath.functions with parameters of type XPathContext
 XObject Function.execute(XPathContext xctxt)
          Execute an XPath function object.
 XObject FuncContains.execute(XPathContext xctxt)
          Execute the function.
 XObject FuncSubstringBefore.execute(XPathContext xctxt)
          Execute the function.
 XObject FuncExtElementAvailable.execute(XPathContext xctxt)
          Execute the function.
 XObject FuncSubstring.execute(XPathContext xctxt)
          Execute the function.
 XObject FuncCurrent.execute(XPathContext xctxt)
          Execute the function.
protected  org.w3c.dom.Node FunctionDef1Arg.getArg0AsNode(XPathContext xctxt)
          Execute the first argument expression that is expected to return a nodeset.
protected  java.lang.String FunctionDef1Arg.getArg0AsString(XPathContext xctxt)
          Execute the first argument expression that is expected to return a string.
protected  double FunctionDef1Arg.getArg0AsNumber(XPathContext xctxt)
          Execute the first argument expression that is expected to return a number.
 XObject FuncNormalizeSpace.execute(XPathContext xctxt)
          Execute the function.
 XObject FuncConcat.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 FuncExtFunction.execute(XPathContext xctxt)
          Execute the function.
 XObject FuncTrue.execute(XPathContext xctxt)
          Execute the function.
 XObject FuncFloor.execute(XPathContext xctxt)
          Execute the function.
 XObject FuncRound.execute(XPathContext xctxt)
          Execute the function.
 XObject FuncUnparsedEntityURI.execute(XPathContext xctxt)
          Execute the function.
 XObject FuncExtFunctionAvailable.execute(XPathContext xctxt)
          Execute the function.
 XObject FuncCeiling.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 FuncStartsWith.execute(XPathContext xctxt)
          Execute the function.
 XObject FuncLocalPart.execute(XPathContext xctxt)
          Execute the function.
 XObject FuncSubstringAfter.execute(XPathContext xctxt)
          Execute the function.
 XObject FuncGenerateId.execute(XPathContext xctxt)
          Execute the function.
 XObject FuncStringLength.execute(XPathContext xctxt)
          Execute the function.
 XObject FuncCount.execute(XPathContext xctxt)
          Execute the function.
 XObject FuncSum.execute(XPathContext xctxt)
          Execute the function.
 XObject FuncNamespace.execute(XPathContext xctxt)
          Execute the function.
 XObject FuncLang.execute(XPathContext xctxt)
          Execute the function.
 XObject FuncDoclocation.execute(XPathContext xctxt)
          Execute the function.
 XObject FuncTranslate.execute(XPathContext xctxt)
          Execute the function.
 XObject FuncId.execute(XPathContext xctxt)
          Execute the function.
 XObject FuncQname.execute(XPathContext xctxt)
          Execute the function.
 XObject FuncSystemProperty.execute(XPathContext xctxt)
          Execute the function.
 XObject FuncBoolean.execute(XPathContext xctxt)
          Execute the function.
 XObject FuncNumber.execute(XPathContext xctxt)
          Execute the function.
 XObject FuncNot.execute(XPathContext xctxt)
          Execute the function.
 XObject FuncString.execute(XPathContext xctxt)
          Execute the function.
 XObject FuncFalse.execute(XPathContext xctxt)
          Execute the function.
 

Uses of XPathContext in weblogic.apache.xpath.objects
 

Methods in weblogic.apache.xpath.objects with parameters of type XPathContext
 XObject XObject.execute(XPathContext xctxt)
          For support of literal objects in xpaths.
 org.w3c.dom.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.
 org.w3c.dom.DocumentFragment XNodeSet.rtree(XPathContext support)
          Cast result object to a result tree fragment.
 org.w3c.dom.DocumentFragment XString.rtree(XPathContext support)
          Cast result object to a result tree fragment.
 org.w3c.dom.DocumentFragment XNull.rtree(XPathContext support)
          Cast result object to a result tree fragment.
 

Uses of XPathContext in weblogic.apache.xpath.operations
 

Methods in weblogic.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 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.
 XObject And.execute(XPathContext xctxt)
          AND two expressions and return the boolean result.
 

Uses of XPathContext in weblogic.apache.xpath.patterns
 

Methods in weblogic.apache.xpath.patterns with parameters of type XPathContext
 XObject NodeTest.execute(XPathContext xctxt, org.w3c.dom.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 UnionPattern.execute(XPathContext xctxt)
          Test a node to see if it matches any of the patterns in the union.
 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, org.w3c.dom.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 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.
 


Documentation is available at
http://e-docs.bea.com/wls/docs61

WebLogic classes and methods that do not appear in this reference are not public and are not supported.