blob: 8f33a085b6a8eeb2c52f83e3bf5546d8c5953759 [file] [log] [blame]
<html><body><p><font size="+1"><strong>Package org.eclipse.wst.xml.xpath2.api</strong></font></p><hr><h2><font size="-1"><strong>org.eclipse.wst.xml.xpath2.api</strong></font><br>
Class XPath2Engine</h2><br><hr><pre>public class <strong>XPath2Engine</strong>
extends </pre>Main API for the XPath2 processor.<p></p><p></p><hr><table width="100%" border="1"><tr cols="2" bgcolor="#CCCCFF"><td colspan="2" width="100%"><h2>Method Summary</h2></td></tr><tr valign="top"><td width="20%" align="right"><code>public org.eclipse.wst.xml.xpath2.api.XPath2Expression</code></td><td width="" align="left"><code><a href="#method_parseExpression">parseExpression</a>(java.lang.String expression
,
org.eclipse.wst.xml.xpath2.api.StaticContext context)</code><br>
&nbsp;&nbsp;&nbsp;&nbsp;
Parse a full XPath2 expression and type check it against the static context
(if it provides a type model to check against)</td></tr></table><hr><table cols="2" width="100%" border="1"><tr colspan="2" width="100%" bgcolor="#CCCCFF" align="left"><td><h2>
Methods Detail
</h2></td></tr></table><h2><a name="method_parseExpression">parseExpression</a></h2><p><code>public org.eclipse.wst.xml.xpath2.api.XPath2Expression <strong>parseExpression</strong>(java.lang.String expression
,
org.eclipse.wst.xml.xpath2.api.StaticContext context)</code></p><p>Parse a full XPath2 expression and type check it against the static context
(if it provides a type model to check against)</p><h3>Parameters</h3><p><code>expression</code> - String representation of XPath2 expression</p><p><code>context</code> - Static context for the expression.</p><h3>Returns</h3><p><code>org.eclipse.wst.xml.xpath2.api.XPath2Expression</code> - A compiled expression.</p><hr></body></html>