blob: 836489407500779e603f06b061f179b7e09f9aad [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 FunctionLibrary</h2><br><hr><pre>public class <strong>FunctionLibrary</strong>
extends </pre>Interface for function libraries support.<p></p><hr><table width="100%" border="1"><tr cols="2" bgcolor="#CCCCFF"><td colspan="2" width="100%"><h2>Field Summary</h2></td></tr><tr valign="top"><td width="20%" align="right"><code>public static int</code></td><td width="80%" align="left"><code><a href="#field_VARIABLE_ARITY">VARIABLE_ARITY</a></code><br>
&nbsp;&nbsp;&nbsp;&nbsp;
</td></tr></table><br><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 boolean</code></td><td width="" align="left"><code><a href="#method_functionExists">functionExists</a>(java.lang.String name
,
int arity)</code><br>
&nbsp;&nbsp;&nbsp;&nbsp;
Checks whether the function exists or not.</td></tr><tr valign="top"><td width="20%" align="right"><code>public java.lang.String</code></td><td width="" align="left"><code><a href="#method_getNamespace">getNamespace</a>()</code><br>
&nbsp;&nbsp;&nbsp;&nbsp;
Returns the namespace of the function library.</td></tr><tr valign="top"><td width="20%" align="right"><code>public org.eclipse.wst.xml.xpath2.api.Function</code></td><td width="" align="left"><code><a href="#method_resolveFunction">resolveFunction</a>(java.lang.String localName
,
int arity)</code><br>
&nbsp;&nbsp;&nbsp;&nbsp;
Function support.</td></tr></table><hr><table cols="2" width="100%" border="1"><tr colspan="2" width="100%" bgcolor="#CCCCFF" align="left"><td><h2>
Field Detail
</h2></td></tr></table><h2><a name="field_VARIABLE_ARITY">VARIABLE_ARITY</a></h2><p><code>public static int <strong>VARIABLE_ARITY</strong></code></p><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_functionExists">functionExists</a></h2><p><code>public boolean <strong>functionExists</strong>(java.lang.String name
,
int arity)</code></p><p>Checks whether the function exists or not.</p><h3>Parameters</h3><p><code>name</code> - Name of function.</p><p><code>arity</code> - arity of the function,</p><h3>Returns</h3><p><code>boolean</code> - Result of the test.</p><hr><h2><a name="method_getNamespace">getNamespace</a></h2><p><code>public java.lang.String <strong>getNamespace</strong>()</code></p><p>Returns the namespace of the function library.</p><h3>Returns</h3><p><code>java.lang.String</code> - Namespace.</p><hr><h2><a name="method_resolveFunction">resolveFunction</a></h2><p><code>public org.eclipse.wst.xml.xpath2.api.Function <strong>resolveFunction</strong>(java.lang.String localName
,
int arity)</code></p><p>Function support.</p><h3>Parameters</h3><p><code>localName</code></p><p><code>arity</code> - arity of the function.</p><h3>Returns</h3><p><code>org.eclipse.wst.xml.xpath2.api.Function</code> - The function from the library.</p><hr></body></html>