| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> |
| <!-- NewPage --> |
| <html lang="en"> |
| <head> |
| <!-- Generated by javadoc (1.8.0_391) on Sun Jun 22 17:31:32 IST 2025 --> |
| <title>XPath</title> |
| <meta name="date" content="2025-06-22"> |
| <link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style"> |
| <script type="text/javascript" src="../../../script.js"></script> |
| </head> |
| <body> |
| <script type="text/javascript"><!-- |
| try { |
| if (location.href.indexOf('is-external=true') == -1) { |
| parent.document.title="XPath"; |
| } |
| } |
| catch(err) { |
| } |
| //--> |
| var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10}; |
| var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]}; |
| var altColor = "altColor"; |
| var rowColor = "rowColor"; |
| var tableTab = "tableTab"; |
| var activeTableTab = "activeTableTab"; |
| </script> |
| <noscript> |
| <div>JavaScript is disabled on your browser.</div> |
| </noscript> |
| <!-- ========= START OF TOP NAVBAR ======= --> |
| <div class="topNav"><a name="navbar.top"> |
| <!-- --> |
| </a> |
| <div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div> |
| <a name="navbar.top.firstrow"> |
| <!-- --> |
| </a> |
| <ul class="navList" title="Navigation"> |
| <li><a href="../../../overview-summary.html">Overview</a></li> |
| <li><a href="package-summary.html">Package</a></li> |
| <li class="navBarCell1Rev">Class</li> |
| <li><a href="package-tree.html">Tree</a></li> |
| <li><a href="../../../deprecated-list.html">Deprecated</a></li> |
| <li><a href="../../../index-all.html">Index</a></li> |
| <li><a href="../../../help-doc.html">Help</a></li> |
| </ul> |
| </div> |
| <div class="subNav"> |
| <ul class="navList"> |
| <li><a href="../../../org/apache/xpath/WhitespaceStrippingElementMatcher.html" title="interface in org.apache.xpath"><span class="typeNameLink">Prev Class</span></a></li> |
| <li><a href="../../../org/apache/xpath/XPathAPI.html" title="class in org.apache.xpath"><span class="typeNameLink">Next Class</span></a></li> |
| </ul> |
| <ul class="navList"> |
| <li><a href="../../../index.html?org/apache/xpath/XPath.html" target="_top">Frames</a></li> |
| <li><a href="XPath.html" target="_top">No Frames</a></li> |
| </ul> |
| <ul class="navList" id="allclasses_navbar_top"> |
| <li><a href="../../../allclasses-noframe.html">All Classes</a></li> |
| </ul> |
| <div> |
| <script type="text/javascript"><!-- |
| allClassesLink = document.getElementById("allclasses_navbar_top"); |
| if(window==top) { |
| allClassesLink.style.display = "block"; |
| } |
| else { |
| allClassesLink.style.display = "none"; |
| } |
| //--> |
| </script> |
| </div> |
| <div> |
| <ul class="subNavList"> |
| <li>Summary: </li> |
| <li>Nested | </li> |
| <li><a href="#field.summary">Field</a> | </li> |
| <li><a href="#constructor.summary">Constr</a> | </li> |
| <li><a href="#method.summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li><a href="#field.detail">Field</a> | </li> |
| <li><a href="#constructor.detail">Constr</a> | </li> |
| <li><a href="#method.detail">Method</a></li> |
| </ul> |
| </div> |
| <a name="skip.navbar.top"> |
| <!-- --> |
| </a></div> |
| <!-- ========= END OF TOP NAVBAR ========= --> |
| <!-- ======== START OF CLASS DATA ======== --> |
| <div class="header"> |
| <div class="subTitle">org.apache.xpath</div> |
| <h2 title="Class XPath" class="title">Class XPath</h2> |
| </div> |
| <div class="contentContainer"> |
| <ul class="inheritance"> |
| <li>java.lang.Object</li> |
| <li> |
| <ul class="inheritance"> |
| <li>org.apache.xpath.XPath</li> |
| </ul> |
| </li> |
| </ul> |
| <div class="description"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <dl> |
| <dt>All Implemented Interfaces:</dt> |
| <dd>java.io.Serializable, <a href="../../../org/apache/xpath/ExpressionOwner.html" title="interface in org.apache.xpath">ExpressionOwner</a></dd> |
| </dl> |
| <hr> |
| <br> |
| <pre>public class <span class="typeNameLabel">XPath</span> |
| extends java.lang.Object |
| implements java.io.Serializable, <a href="../../../org/apache/xpath/ExpressionOwner.html" title="interface in org.apache.xpath">ExpressionOwner</a></pre> |
| <div class="block">This class wraps an XPath expression object and provides |
| common services for evaluation of that expression.</div> |
| <dl> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../serialized-form.html#org.apache.xpath.XPath">Serialized Form</a></dd> |
| </dl> |
| </li> |
| </ul> |
| </div> |
| <div class="summary"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- =========== FIELD SUMMARY =========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="field.summary"> |
| <!-- --> |
| </a> |
| <h3>Field Summary</h3> |
| <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation"> |
| <caption><span>Fields</span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colLast" scope="col">Field and Description</th> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static int</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/xpath/XPath.html#MATCH">MATCH</a></span></code> |
| <div class="block">Represents a match type expression.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static double</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/xpath/XPath.html#MATCH_SCORE_NODETEST">MATCH_SCORE_NODETEST</a></span></code> |
| <div class="block">The match score if the pattern consists of just a NodeTest.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static double</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/xpath/XPath.html#MATCH_SCORE_NONE">MATCH_SCORE_NONE</a></span></code> |
| <div class="block">The match score if no match is made.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static double</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/xpath/XPath.html#MATCH_SCORE_NSWILD">MATCH_SCORE_NSWILD</a></span></code> |
| <div class="block">The match score if the pattern pattern has the form NCName:*.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static double</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/xpath/XPath.html#MATCH_SCORE_OTHER">MATCH_SCORE_OTHER</a></span></code> |
| <div class="block">The match score if the pattern consists of something |
| other than just a NodeTest or just a qname.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static double</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/xpath/XPath.html#MATCH_SCORE_QNAME">MATCH_SCORE_QNAME</a></span></code> |
| <div class="block">The match score if the pattern has the form |
| of a QName optionally preceded by an @ character.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static int</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/xpath/XPath.html#SELECT">SELECT</a></span></code> |
| <div class="block">Represents a select type expression.</div> |
| </td> |
| </tr> |
| </table> |
| </li> |
| </ul> |
| <!-- ======== CONSTRUCTOR SUMMARY ======== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="constructor.summary"> |
| <!-- --> |
| </a> |
| <h3>Constructor Summary</h3> |
| <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation"> |
| <caption><span>Constructors</span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colOne" scope="col">Constructor and Description</th> |
| </tr> |
| <tr class="altColor"> |
| <td class="colOne"><code><span class="memberNameLink"><a href="../../../org/apache/xpath/XPath.html#XPath-org.apache.xpath.Expression-">XPath</a></span>(<a href="../../../org/apache/xpath/Expression.html" title="class in org.apache.xpath">Expression</a> expr)</code> |
| <div class="block">Construct an XPath object.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colOne"><code><span class="memberNameLink"><a href="../../../org/apache/xpath/XPath.html#XPath-java.lang.String-javax.xml.transform.SourceLocator-org.apache.xml.utils.PrefixResolver-int-">XPath</a></span>(java.lang.String exprString, |
| javax.xml.transform.SourceLocator locator, |
| <a href="../../../org/apache/xml/utils/PrefixResolver.html" title="interface in org.apache.xml.utils">PrefixResolver</a> prefixResolver, |
| int type)</code> |
| <div class="block">Construct an XPath object.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colOne"><code><span class="memberNameLink"><a href="../../../org/apache/xpath/XPath.html#XPath-java.lang.String-javax.xml.transform.SourceLocator-org.apache.xml.utils.PrefixResolver-int-javax.xml.transform.ErrorListener-">XPath</a></span>(java.lang.String exprString, |
| javax.xml.transform.SourceLocator locator, |
| <a href="../../../org/apache/xml/utils/PrefixResolver.html" title="interface in org.apache.xml.utils">PrefixResolver</a> prefixResolver, |
| int type, |
| javax.xml.transform.ErrorListener errorListener)</code> |
| <div class="block">Construct an XPath object.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colOne"><code><span class="memberNameLink"><a href="../../../org/apache/xpath/XPath.html#XPath-java.lang.String-javax.xml.transform.SourceLocator-org.apache.xml.utils.PrefixResolver-int-javax.xml.transform.ErrorListener-boolean-">XPath</a></span>(java.lang.String exprString, |
| javax.xml.transform.SourceLocator locator, |
| <a href="../../../org/apache/xml/utils/PrefixResolver.html" title="interface in org.apache.xml.utils">PrefixResolver</a> prefixResolver, |
| int type, |
| javax.xml.transform.ErrorListener errorListener, |
| boolean isSequenceTypeXPathExpr)</code> |
| <div class="block">Construct an XPath object.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colOne"><code><span class="memberNameLink"><a href="../../../org/apache/xpath/XPath.html#XPath-java.lang.String-javax.xml.transform.SourceLocator-org.apache.xml.utils.PrefixResolver-int-javax.xml.transform.ErrorListener-org.apache.xpath.compiler.FunctionTable-">XPath</a></span>(java.lang.String exprString, |
| javax.xml.transform.SourceLocator locator, |
| <a href="../../../org/apache/xml/utils/PrefixResolver.html" title="interface in org.apache.xml.utils">PrefixResolver</a> prefixResolver, |
| int type, |
| javax.xml.transform.ErrorListener errorListener, |
| <a href="../../../org/apache/xpath/compiler/FunctionTable.html" title="class in org.apache.xpath.compiler">FunctionTable</a> funcTable)</code> |
| <div class="block">Construct an XPath object.</div> |
| </td> |
| </tr> |
| </table> |
| </li> |
| </ul> |
| <!-- ========== METHOD SUMMARY =========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="method.summary"> |
| <!-- --> |
| </a> |
| <h3>Method Summary</h3> |
| <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> |
| <caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colLast" scope="col">Method and Description</th> |
| </tr> |
| <tr id="i0" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/xpath/XPath.html#assertion-boolean-java.lang.String-">assertion</a></span>(boolean b, |
| java.lang.String msg)</code> |
| <div class="block">Tell the user of an assertion error, and probably throw an |
| exception.</div> |
| </td> |
| </tr> |
| <tr id="i1" class="rowColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/xpath/XPath.html#bool-org.apache.xpath.XPathContext-int-org.apache.xml.utils.PrefixResolver-">bool</a></span>(<a href="../../../org/apache/xpath/XPathContext.html" title="class in org.apache.xpath">XPathContext</a> xctxt, |
| int contextNode, |
| <a href="../../../org/apache/xml/utils/PrefixResolver.html" title="interface in org.apache.xml.utils">PrefixResolver</a> namespaceContext)</code> |
| <div class="block">Given an expression and a context, evaluate the XPath |
| and return the result.</div> |
| </td> |
| </tr> |
| <tr id="i2" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/xpath/XPath.html#callVisitors-org.apache.xpath.ExpressionOwner-org.apache.xpath.XPathVisitor-">callVisitors</a></span>(<a href="../../../org/apache/xpath/ExpressionOwner.html" title="interface in org.apache.xpath">ExpressionOwner</a> owner, |
| <a href="../../../org/apache/xpath/XPathVisitor.html" title="class in org.apache.xpath">XPathVisitor</a> visitor)</code> |
| <div class="block">This will traverse the heararchy, calling the visitor for |
| each member.</div> |
| </td> |
| </tr> |
| <tr id="i3" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/xpath/XPath.html#error-org.apache.xpath.XPathContext-int-java.lang.String-java.lang.Object:A-">error</a></span>(<a href="../../../org/apache/xpath/XPathContext.html" title="class in org.apache.xpath">XPathContext</a> xctxt, |
| int sourceNode, |
| java.lang.String msg, |
| java.lang.Object[] args)</code> |
| <div class="block">Tell the user of an error, and probably throw an |
| exception.</div> |
| </td> |
| </tr> |
| <tr id="i4" class="altColor"> |
| <td class="colFirst"><code><a href="../../../org/apache/xpath/objects/XObject.html" title="class in org.apache.xpath.objects">XObject</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/xpath/XPath.html#execute-org.apache.xpath.XPathContext-int-org.apache.xml.utils.PrefixResolver-">execute</a></span>(<a href="../../../org/apache/xpath/XPathContext.html" title="class in org.apache.xpath">XPathContext</a> xctxt, |
| int contextNode, |
| <a href="../../../org/apache/xml/utils/PrefixResolver.html" title="interface in org.apache.xml.utils">PrefixResolver</a> namespaceContext)</code> |
| <div class="block">Given an expression and a context, evaluate the XPath |
| and return the result.</div> |
| </td> |
| </tr> |
| <tr id="i5" class="rowColor"> |
| <td class="colFirst"><code><a href="../../../org/apache/xpath/objects/XObject.html" title="class in org.apache.xpath.objects">XObject</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/xpath/XPath.html#execute-org.apache.xpath.XPathContext-org.w3c.dom.Node-org.apache.xml.utils.PrefixResolver-">execute</a></span>(<a href="../../../org/apache/xpath/XPathContext.html" title="class in org.apache.xpath">XPathContext</a> xctxt, |
| org.w3c.dom.Node contextNode, |
| <a href="../../../org/apache/xml/utils/PrefixResolver.html" title="interface in org.apache.xml.utils">PrefixResolver</a> namespaceContext)</code> |
| <div class="block">Given an expression and a context, evaluate the XPath |
| and return the result.</div> |
| </td> |
| </tr> |
| <tr id="i6" class="altColor"> |
| <td class="colFirst"><code><a href="../../../org/apache/xpath/objects/XObject.html" title="class in org.apache.xpath.objects">XObject</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/xpath/XPath.html#executeInstanceOf-org.apache.xpath.XPathContext-int-org.apache.xml.utils.PrefixResolver-">executeInstanceOf</a></span>(<a href="../../../org/apache/xpath/XPathContext.html" title="class in org.apache.xpath">XPathContext</a> xctxt, |
| int contextNode, |
| <a href="../../../org/apache/xml/utils/PrefixResolver.html" title="interface in org.apache.xml.utils">PrefixResolver</a> namespaceContext)</code> |
| <div class="block">Evaluate an XPath "instance of" expression.</div> |
| </td> |
| </tr> |
| <tr id="i7" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/xpath/XPath.html#fixupVariables-java.util.Vector-int-">fixupVariables</a></span>(java.util.Vector vars, |
| int globalsSize)</code> |
| <div class="block">This function is used to fixup variables from QNames to stack frame |
| indexes at stylesheet build time.</div> |
| </td> |
| </tr> |
| <tr id="i8" class="altColor"> |
| <td class="colFirst"><code>java.lang.String</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/xpath/XPath.html#getArrowOpRemainingXPathExprStr--">getArrowOpRemainingXPathExprStr</a></span>()</code> </td> |
| </tr> |
| <tr id="i9" class="rowColor"> |
| <td class="colFirst"><code><a href="../../../org/apache/xpath/Expression.html" title="class in org.apache.xpath">Expression</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/xpath/XPath.html#getExpression--">getExpression</a></span>()</code> |
| <div class="block">Get the raw Expression object that this class wraps.</div> |
| </td> |
| </tr> |
| <tr id="i10" class="altColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/xpath/XPath.html#getIsXslTryProcessing--">getIsXslTryProcessing</a></span>()</code> </td> |
| </tr> |
| <tr id="i11" class="rowColor"> |
| <td class="colFirst"><code>javax.xml.transform.SourceLocator</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/xpath/XPath.html#getLocator--">getLocator</a></span>()</code> |
| <div class="block">Get the SourceLocator on the expression object.</div> |
| </td> |
| </tr> |
| <tr id="i12" class="altColor"> |
| <td class="colFirst"><code>double</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/xpath/XPath.html#getMatchScore-org.apache.xpath.XPathContext-int-">getMatchScore</a></span>(<a href="../../../org/apache/xpath/XPathContext.html" title="class in org.apache.xpath">XPathContext</a> xctxt, |
| int context)</code> |
| <div class="block">Get the match score of the given node.</div> |
| </td> |
| </tr> |
| <tr id="i13" class="rowColor"> |
| <td class="colFirst"><code>java.lang.String</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/xpath/XPath.html#getPatternString--">getPatternString</a></span>()</code> |
| <div class="block">Return the XPath string associated with this object.</div> |
| </td> |
| </tr> |
| <tr id="i14" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/xpath/XPath.html#setArrowOpRemainingXPathExprStr-java.lang.String-">setArrowOpRemainingXPathExprStr</a></span>(java.lang.String arrowOpRemainingXPathExprStr)</code> </td> |
| </tr> |
| <tr id="i15" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/xpath/XPath.html#setExpression-org.apache.xpath.Expression-">setExpression</a></span>(<a href="../../../org/apache/xpath/Expression.html" title="class in org.apache.xpath">Expression</a> exp)</code> |
| <div class="block">Set the raw expression object for this object.</div> |
| </td> |
| </tr> |
| <tr id="i16" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/xpath/XPath.html#setIsQuantifiedExpr-boolean-">setIsQuantifiedExpr</a></span>(boolean isQuantifiedExpr)</code> </td> |
| </tr> |
| <tr id="i17" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/xpath/XPath.html#setIsXslTryProcessing-boolean-">setIsXslTryProcessing</a></span>(boolean bool)</code> </td> |
| </tr> |
| <tr id="i18" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/xpath/XPath.html#warn-org.apache.xpath.XPathContext-int-java.lang.String-java.lang.Object:A-">warn</a></span>(<a href="../../../org/apache/xpath/XPathContext.html" title="class in org.apache.xpath">XPathContext</a> xctxt, |
| int sourceNode, |
| java.lang.String msg, |
| java.lang.Object[] args)</code> |
| <div class="block">Warn the user of an problem.</div> |
| </td> |
| </tr> |
| </table> |
| <ul class="blockList"> |
| <li class="blockList"><a name="methods.inherited.from.class.java.lang.Object"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from class java.lang.Object</h3> |
| <code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li> |
| </ul> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </div> |
| <div class="details"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- ============ FIELD DETAIL =========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="field.detail"> |
| <!-- --> |
| </a> |
| <h3>Field Detail</h3> |
| <a name="SELECT"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>SELECT</h4> |
| <pre>public static final int SELECT</pre> |
| <div class="block">Represents a select type expression.</div> |
| <dl> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../constant-values.html#org.apache.xpath.XPath.SELECT">Constant Field Values</a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="MATCH"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>MATCH</h4> |
| <pre>public static final int MATCH</pre> |
| <div class="block">Represents a match type expression.</div> |
| <dl> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../constant-values.html#org.apache.xpath.XPath.MATCH">Constant Field Values</a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="MATCH_SCORE_NONE"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>MATCH_SCORE_NONE</h4> |
| <pre>public static final double MATCH_SCORE_NONE</pre> |
| <div class="block">The match score if no match is made.</div> |
| <dl> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../constant-values.html#org.apache.xpath.XPath.MATCH_SCORE_NONE">Constant Field Values</a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="MATCH_SCORE_QNAME"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>MATCH_SCORE_QNAME</h4> |
| <pre>public static final double MATCH_SCORE_QNAME</pre> |
| <div class="block">The match score if the pattern has the form |
| of a QName optionally preceded by an @ character.</div> |
| <dl> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../constant-values.html#org.apache.xpath.XPath.MATCH_SCORE_QNAME">Constant Field Values</a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="MATCH_SCORE_NSWILD"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>MATCH_SCORE_NSWILD</h4> |
| <pre>public static final double MATCH_SCORE_NSWILD</pre> |
| <div class="block">The match score if the pattern pattern has the form NCName:*.</div> |
| <dl> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../constant-values.html#org.apache.xpath.XPath.MATCH_SCORE_NSWILD">Constant Field Values</a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="MATCH_SCORE_NODETEST"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>MATCH_SCORE_NODETEST</h4> |
| <pre>public static final double MATCH_SCORE_NODETEST</pre> |
| <div class="block">The match score if the pattern consists of just a NodeTest.</div> |
| <dl> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../constant-values.html#org.apache.xpath.XPath.MATCH_SCORE_NODETEST">Constant Field Values</a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="MATCH_SCORE_OTHER"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>MATCH_SCORE_OTHER</h4> |
| <pre>public static final double MATCH_SCORE_OTHER</pre> |
| <div class="block">The match score if the pattern consists of something |
| other than just a NodeTest or just a qname.</div> |
| <dl> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../constant-values.html#org.apache.xpath.XPath.MATCH_SCORE_OTHER">Constant Field Values</a></dd> |
| </dl> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| <!-- ========= CONSTRUCTOR DETAIL ======== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="constructor.detail"> |
| <!-- --> |
| </a> |
| <h3>Constructor Detail</h3> |
| <a name="XPath-java.lang.String-javax.xml.transform.SourceLocator-org.apache.xml.utils.PrefixResolver-int-javax.xml.transform.ErrorListener-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>XPath</h4> |
| <pre>public XPath(java.lang.String exprString, |
| javax.xml.transform.SourceLocator locator, |
| <a href="../../../org/apache/xml/utils/PrefixResolver.html" title="interface in org.apache.xml.utils">PrefixResolver</a> prefixResolver, |
| int type, |
| javax.xml.transform.ErrorListener errorListener) |
| throws javax.xml.transform.TransformerException</pre> |
| <div class="block">Construct an XPath object. |
| |
| (Needs review -sc) This method initializes an XPathParser/ |
| Compiler and compiles the expression.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>exprString</code> - The XPath expression.</dd> |
| <dd><code>locator</code> - The location of the expression, may be null.</dd> |
| <dd><code>prefixResolver</code> - A prefix resolver to use to resolve prefixes to |
| namespace URIs.</dd> |
| <dd><code>type</code> - one of <a href="../../../org/apache/xpath/XPath.html#SELECT"><code>SELECT</code></a> or <a href="../../../org/apache/xpath/XPath.html#MATCH"><code>MATCH</code></a>.</dd> |
| <dd><code>errorListener</code> - The error listener, or null if default should be used.</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code>javax.xml.transform.TransformerException</code> - if syntax or other error.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="XPath-java.lang.String-javax.xml.transform.SourceLocator-org.apache.xml.utils.PrefixResolver-int-javax.xml.transform.ErrorListener-org.apache.xpath.compiler.FunctionTable-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>XPath</h4> |
| <pre>public XPath(java.lang.String exprString, |
| javax.xml.transform.SourceLocator locator, |
| <a href="../../../org/apache/xml/utils/PrefixResolver.html" title="interface in org.apache.xml.utils">PrefixResolver</a> prefixResolver, |
| int type, |
| javax.xml.transform.ErrorListener errorListener, |
| <a href="../../../org/apache/xpath/compiler/FunctionTable.html" title="class in org.apache.xpath.compiler">FunctionTable</a> funcTable) |
| throws javax.xml.transform.TransformerException</pre> |
| <div class="block">Construct an XPath object. |
| |
| (Needs review -sc) This method initializes an XPathParser/ |
| Compiler and compiles the expression.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>exprString</code> - The XPath expression.</dd> |
| <dd><code>locator</code> - The location of the expression, may be null.</dd> |
| <dd><code>prefixResolver</code> - A prefix resolver to use to resolve prefixes to |
| namespace URIs.</dd> |
| <dd><code>type</code> - one of <a href="../../../org/apache/xpath/XPath.html#SELECT"><code>SELECT</code></a> or <a href="../../../org/apache/xpath/XPath.html#MATCH"><code>MATCH</code></a>.</dd> |
| <dd><code>errorListener</code> - The error listener, or null if default should be used.</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code>javax.xml.transform.TransformerException</code> - if syntax or other error.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="XPath-java.lang.String-javax.xml.transform.SourceLocator-org.apache.xml.utils.PrefixResolver-int-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>XPath</h4> |
| <pre>public XPath(java.lang.String exprString, |
| javax.xml.transform.SourceLocator locator, |
| <a href="../../../org/apache/xml/utils/PrefixResolver.html" title="interface in org.apache.xml.utils">PrefixResolver</a> prefixResolver, |
| int type) |
| throws javax.xml.transform.TransformerException</pre> |
| <div class="block">Construct an XPath object. |
| |
| (Needs review -sc) This method initializes an XPathParser/ |
| Compiler and compiles the expression.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>exprString</code> - The XPath expression.</dd> |
| <dd><code>locator</code> - The location of the expression, may be null.</dd> |
| <dd><code>prefixResolver</code> - A prefix resolver to use to resolve prefixes to |
| namespace URIs.</dd> |
| <dd><code>type</code> - one of <a href="../../../org/apache/xpath/XPath.html#SELECT"><code>SELECT</code></a> or <a href="../../../org/apache/xpath/XPath.html#MATCH"><code>MATCH</code></a>.</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code>javax.xml.transform.TransformerException</code> - if syntax or other error.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="XPath-java.lang.String-javax.xml.transform.SourceLocator-org.apache.xml.utils.PrefixResolver-int-javax.xml.transform.ErrorListener-boolean-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>XPath</h4> |
| <pre>public XPath(java.lang.String exprString, |
| javax.xml.transform.SourceLocator locator, |
| <a href="../../../org/apache/xml/utils/PrefixResolver.html" title="interface in org.apache.xml.utils">PrefixResolver</a> prefixResolver, |
| int type, |
| javax.xml.transform.ErrorListener errorListener, |
| boolean isSequenceTypeXPathExpr) |
| throws javax.xml.transform.TransformerException</pre> |
| <div class="block">Construct an XPath object. This method has an additional parameter |
| 'isSequenceTypeXPathExpr', to handle XPath 3.1 expressions that |
| represent sequence type declarations.</div> |
| <dl> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code>javax.xml.transform.TransformerException</code> - if syntax or other error.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="XPath-org.apache.xpath.Expression-"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>XPath</h4> |
| <pre>public XPath(<a href="../../../org/apache/xpath/Expression.html" title="class in org.apache.xpath">Expression</a> expr)</pre> |
| <div class="block">Construct an XPath object.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>expr</code> - The Expression object.</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code>javax.xml.transform.TransformerException</code> - if syntax or other error.</dd> |
| </dl> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| <!-- ============ METHOD DETAIL ========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="method.detail"> |
| <!-- --> |
| </a> |
| <h3>Method Detail</h3> |
| <a name="getExpression--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getExpression</h4> |
| <pre>public <a href="../../../org/apache/xpath/Expression.html" title="class in org.apache.xpath">Expression</a> getExpression()</pre> |
| <div class="block">Get the raw Expression object that this class wraps.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../org/apache/xpath/ExpressionOwner.html#getExpression--">getExpression</a></code> in interface <code><a href="../../../org/apache/xpath/ExpressionOwner.html" title="interface in org.apache.xpath">ExpressionOwner</a></code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the raw Expression object, which should not normally be null.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="fixupVariables-java.util.Vector-int-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>fixupVariables</h4> |
| <pre>public void fixupVariables(java.util.Vector vars, |
| int globalsSize)</pre> |
| <div class="block">This function is used to fixup variables from QNames to stack frame |
| indexes at stylesheet build time.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>vars</code> - List of QNames that correspond to variables. This list |
| should be searched backwards for the first qualified name that |
| corresponds to the variable reference qname. The position of the |
| QName in the vector from the start of the vector will be its position |
| in the stack frame (but variables above the globalsTop value will need |
| to be offset to the current stack frame).</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="setExpression-org.apache.xpath.Expression-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setExpression</h4> |
| <pre>public void setExpression(<a href="../../../org/apache/xpath/Expression.html" title="class in org.apache.xpath">Expression</a> exp)</pre> |
| <div class="block">Set the raw expression object for this object.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../org/apache/xpath/ExpressionOwner.html#setExpression-org.apache.xpath.Expression-">setExpression</a></code> in interface <code><a href="../../../org/apache/xpath/ExpressionOwner.html" title="interface in org.apache.xpath">ExpressionOwner</a></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>exp</code> - the raw Expression object, which should not normally be null.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getLocator--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getLocator</h4> |
| <pre>public javax.xml.transform.SourceLocator getLocator()</pre> |
| <div class="block">Get the SourceLocator on the expression object.</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the SourceLocator on the expression object, which may be null.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getPatternString--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getPatternString</h4> |
| <pre>public java.lang.String getPatternString()</pre> |
| <div class="block">Return the XPath string associated with this object.</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the XPath string associated with this object.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="execute-org.apache.xpath.XPathContext-org.w3c.dom.Node-org.apache.xml.utils.PrefixResolver-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>execute</h4> |
| <pre>public <a href="../../../org/apache/xpath/objects/XObject.html" title="class in org.apache.xpath.objects">XObject</a> execute(<a href="../../../org/apache/xpath/XPathContext.html" title="class in org.apache.xpath">XPathContext</a> xctxt, |
| org.w3c.dom.Node contextNode, |
| <a href="../../../org/apache/xml/utils/PrefixResolver.html" title="interface in org.apache.xml.utils">PrefixResolver</a> namespaceContext) |
| throws javax.xml.transform.TransformerException</pre> |
| <div class="block">Given an expression and a context, evaluate the XPath |
| and return the result.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>xctxt</code> - The execution context.</dd> |
| <dd><code>contextNode</code> - The node that "." expresses.</dd> |
| <dd><code>namespaceContext</code> - The context in which namespaces in the |
| XPath are supposed to be expanded.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>The result of the XPath or null if callbacks are used.</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code>javax.xml.transform.TransformerException</code> - thrown if |
| the error condition is severe enough to halt processing.</dd> |
| <dd><code>javax.xml.transform.TransformerException</code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="execute-org.apache.xpath.XPathContext-int-org.apache.xml.utils.PrefixResolver-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>execute</h4> |
| <pre>public <a href="../../../org/apache/xpath/objects/XObject.html" title="class in org.apache.xpath.objects">XObject</a> execute(<a href="../../../org/apache/xpath/XPathContext.html" title="class in org.apache.xpath">XPathContext</a> xctxt, |
| int contextNode, |
| <a href="../../../org/apache/xml/utils/PrefixResolver.html" title="interface in org.apache.xml.utils">PrefixResolver</a> namespaceContext) |
| throws javax.xml.transform.TransformerException</pre> |
| <div class="block">Given an expression and a context, evaluate the XPath |
| and return the result.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>xctxt</code> - The execution context.</dd> |
| <dd><code>contextNode</code> - The node that "." expresses.</dd> |
| <dd><code>namespaceContext</code> - The context in which namespaces in the |
| XPath are supposed to be expanded.</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code>javax.xml.transform.TransformerException</code> - thrown if the active ProblemListener decides |
| the error condition is severe enough to halt processing.</dd> |
| <dd><code>javax.xml.transform.TransformerException</code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="executeInstanceOf-org.apache.xpath.XPathContext-int-org.apache.xml.utils.PrefixResolver-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>executeInstanceOf</h4> |
| <pre>public <a href="../../../org/apache/xpath/objects/XObject.html" title="class in org.apache.xpath.objects">XObject</a> executeInstanceOf(<a href="../../../org/apache/xpath/XPathContext.html" title="class in org.apache.xpath">XPathContext</a> xctxt, |
| int contextNode, |
| <a href="../../../org/apache/xml/utils/PrefixResolver.html" title="interface in org.apache.xml.utils">PrefixResolver</a> namespaceContext) |
| throws javax.xml.transform.TransformerException</pre> |
| <div class="block">Evaluate an XPath "instance of" expression.</div> |
| <dl> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code>javax.xml.transform.TransformerException</code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="bool-org.apache.xpath.XPathContext-int-org.apache.xml.utils.PrefixResolver-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>bool</h4> |
| <pre>public boolean bool(<a href="../../../org/apache/xpath/XPathContext.html" title="class in org.apache.xpath">XPathContext</a> xctxt, |
| int contextNode, |
| <a href="../../../org/apache/xml/utils/PrefixResolver.html" title="interface in org.apache.xml.utils">PrefixResolver</a> namespaceContext) |
| throws javax.xml.transform.TransformerException</pre> |
| <div class="block">Given an expression and a context, evaluate the XPath |
| and return the result.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>xctxt</code> - The execution context.</dd> |
| <dd><code>contextNode</code> - The node that "." expresses.</dd> |
| <dd><code>namespaceContext</code> - The context in which namespaces in the |
| XPath are supposed to be expanded.</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code>javax.xml.transform.TransformerException</code> - thrown if the active ProblemListener decides |
| the error condition is severe enough to halt processing.</dd> |
| <dd><code>javax.xml.transform.TransformerException</code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getMatchScore-org.apache.xpath.XPathContext-int-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getMatchScore</h4> |
| <pre>public double getMatchScore(<a href="../../../org/apache/xpath/XPathContext.html" title="class in org.apache.xpath">XPathContext</a> xctxt, |
| int context) |
| throws javax.xml.transform.TransformerException</pre> |
| <div class="block">Get the match score of the given node.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>xctxt</code> - XPath runtime context.</dd> |
| <dd><code>context</code> - The current source tree context node.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>score, one of <a href="../../../org/apache/xpath/XPath.html#MATCH_SCORE_NODETEST"><code>MATCH_SCORE_NODETEST</code></a>, |
| <a href="../../../org/apache/xpath/XPath.html#MATCH_SCORE_NONE"><code>MATCH_SCORE_NONE</code></a>, <a href="../../../org/apache/xpath/XPath.html#MATCH_SCORE_OTHER"><code>MATCH_SCORE_OTHER</code></a>, |
| or <a href="../../../org/apache/xpath/XPath.html#MATCH_SCORE_QNAME"><code>MATCH_SCORE_QNAME</code></a>.</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code>javax.xml.transform.TransformerException</code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="warn-org.apache.xpath.XPathContext-int-java.lang.String-java.lang.Object:A-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>warn</h4> |
| <pre>public void warn(<a href="../../../org/apache/xpath/XPathContext.html" title="class in org.apache.xpath">XPathContext</a> xctxt, |
| int sourceNode, |
| java.lang.String msg, |
| java.lang.Object[] args) |
| throws javax.xml.transform.TransformerException</pre> |
| <div class="block">Warn the user of an problem.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>xctxt</code> - The XPath runtime context.</dd> |
| <dd><code>sourceNode</code> - Not used.</dd> |
| <dd><code>msg</code> - An error msgkey that corresponds to one of the constants found |
| in <code>org.apache.xpath.res.XPATHErrorResources</code>, which is |
| a key for a format string.</dd> |
| <dd><code>args</code> - An array of arguments represented in the format string, which |
| may be null.</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code>javax.xml.transform.TransformerException</code> - if the current ErrorListoner determines to |
| throw an exception.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="assertion-boolean-java.lang.String-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>assertion</h4> |
| <pre>public void assertion(boolean b, |
| java.lang.String msg)</pre> |
| <div class="block">Tell the user of an assertion error, and probably throw an |
| exception.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>b</code> - If false, a runtime exception will be thrown.</dd> |
| <dd><code>msg</code> - The assertion message, which should be informative.</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code>java.lang.RuntimeException</code> - if the b argument is false.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="error-org.apache.xpath.XPathContext-int-java.lang.String-java.lang.Object:A-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>error</h4> |
| <pre>public void error(<a href="../../../org/apache/xpath/XPathContext.html" title="class in org.apache.xpath">XPathContext</a> xctxt, |
| int sourceNode, |
| java.lang.String msg, |
| java.lang.Object[] args) |
| throws javax.xml.transform.TransformerException</pre> |
| <div class="block">Tell the user of an error, and probably throw an |
| exception.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>xctxt</code> - The XPath runtime context.</dd> |
| <dd><code>sourceNode</code> - Not used.</dd> |
| <dd><code>msg</code> - An error msgkey that corresponds to one of the constants found |
| in <code>org.apache.xpath.res.XPATHErrorResources</code>, which is |
| a key for a format string.</dd> |
| <dd><code>args</code> - An array of arguments represented in the format string, which |
| may be null.</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code>javax.xml.transform.TransformerException</code> - if the current ErrorListoner determines to |
| throw an exception.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="callVisitors-org.apache.xpath.ExpressionOwner-org.apache.xpath.XPathVisitor-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>callVisitors</h4> |
| <pre>public void callVisitors(<a href="../../../org/apache/xpath/ExpressionOwner.html" title="interface in org.apache.xpath">ExpressionOwner</a> owner, |
| <a href="../../../org/apache/xpath/XPathVisitor.html" title="class in org.apache.xpath">XPathVisitor</a> visitor)</pre> |
| <div class="block">This will traverse the heararchy, calling the visitor for |
| each member. If the called visitor method returns |
| false, the subtree should not be called.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>owner</code> - The owner of the visitor, where that path may be |
| rewritten if needed.</dd> |
| <dd><code>visitor</code> - The visitor whose appropriate method will be called.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getArrowOpRemainingXPathExprStr--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getArrowOpRemainingXPathExprStr</h4> |
| <pre>public java.lang.String getArrowOpRemainingXPathExprStr()</pre> |
| </li> |
| </ul> |
| <a name="setArrowOpRemainingXPathExprStr-java.lang.String-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setArrowOpRemainingXPathExprStr</h4> |
| <pre>public void setArrowOpRemainingXPathExprStr(java.lang.String arrowOpRemainingXPathExprStr)</pre> |
| </li> |
| </ul> |
| <a name="setIsQuantifiedExpr-boolean-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setIsQuantifiedExpr</h4> |
| <pre>public void setIsQuantifiedExpr(boolean isQuantifiedExpr)</pre> |
| </li> |
| </ul> |
| <a name="setIsXslTryProcessing-boolean-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setIsXslTryProcessing</h4> |
| <pre>public void setIsXslTryProcessing(boolean bool)</pre> |
| </li> |
| </ul> |
| <a name="getIsXslTryProcessing--"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>getIsXslTryProcessing</h4> |
| <pre>public boolean getIsXslTryProcessing()</pre> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </div> |
| </div> |
| <!-- ========= END OF CLASS DATA ========= --> |
| <!-- ======= START OF BOTTOM NAVBAR ====== --> |
| <div class="bottomNav"><a name="navbar.bottom"> |
| <!-- --> |
| </a> |
| <div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> |
| <a name="navbar.bottom.firstrow"> |
| <!-- --> |
| </a> |
| <ul class="navList" title="Navigation"> |
| <li><a href="../../../overview-summary.html">Overview</a></li> |
| <li><a href="package-summary.html">Package</a></li> |
| <li class="navBarCell1Rev">Class</li> |
| <li><a href="package-tree.html">Tree</a></li> |
| <li><a href="../../../deprecated-list.html">Deprecated</a></li> |
| <li><a href="../../../index-all.html">Index</a></li> |
| <li><a href="../../../help-doc.html">Help</a></li> |
| </ul> |
| </div> |
| <div class="subNav"> |
| <ul class="navList"> |
| <li><a href="../../../org/apache/xpath/WhitespaceStrippingElementMatcher.html" title="interface in org.apache.xpath"><span class="typeNameLink">Prev Class</span></a></li> |
| <li><a href="../../../org/apache/xpath/XPathAPI.html" title="class in org.apache.xpath"><span class="typeNameLink">Next Class</span></a></li> |
| </ul> |
| <ul class="navList"> |
| <li><a href="../../../index.html?org/apache/xpath/XPath.html" target="_top">Frames</a></li> |
| <li><a href="XPath.html" target="_top">No Frames</a></li> |
| </ul> |
| <ul class="navList" id="allclasses_navbar_bottom"> |
| <li><a href="../../../allclasses-noframe.html">All Classes</a></li> |
| </ul> |
| <div> |
| <script type="text/javascript"><!-- |
| allClassesLink = document.getElementById("allclasses_navbar_bottom"); |
| if(window==top) { |
| allClassesLink.style.display = "block"; |
| } |
| else { |
| allClassesLink.style.display = "none"; |
| } |
| //--> |
| </script> |
| </div> |
| <div> |
| <ul class="subNavList"> |
| <li>Summary: </li> |
| <li>Nested | </li> |
| <li><a href="#field.summary">Field</a> | </li> |
| <li><a href="#constructor.summary">Constr</a> | </li> |
| <li><a href="#method.summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li><a href="#field.detail">Field</a> | </li> |
| <li><a href="#constructor.detail">Constr</a> | </li> |
| <li><a href="#method.detail">Method</a></li> |
| </ul> |
| </div> |
| <a name="skip.navbar.bottom"> |
| <!-- --> |
| </a></div> |
| <!-- ======== END OF BOTTOM NAVBAR ======= --> |
| </body> |
| </html> |