blob: bcf2ecd4a6abdf42c27e62bc838c868cdfd7ffef [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Method Resolver</title>
<style type="text/css">@import url("../../book.css");</style>
<style type="text/css">@import url("../../schema.css");</style>
</HEAD>
<BODY>
<H1 style="text-align:center">Method Resolver</H1>
<p></p>
<h6 class="CaptionFigColumn SchemaHeader">Identifier: </h6>org.eclipse.jst.jsf.core.methodresolver<p></p>
<h6 class="CaptionFigColumn SchemaHeader">Since: </h6>1.5
<p></p>
<h6 class="CaptionFigColumn SchemaHeader">Description: </h6>Allows a third-party to define an alternative instance of the design time method resolver. This id can then be set on a project using DesignTimeApplicationManager.setMethodResolverProvider. Once set on a project this id will be used to load the active design time method resolver.<p></p>
<h6 class="CaptionFigColumn SchemaHeader">Configuration Markup:</h6>
<p></p>
<p class="code SchemaDtd">&lt;!ELEMENT <a name="e.extension">extension</a> (<a href="#e.methodresolver">methodresolver</a>)&gt;</p>
<p class="code SchemaDtd">&lt;!ATTLIST extension</p>
<p class="code SchemaDtdAttlist">point&nbsp;CDATA #REQUIRED</p><p class="code SchemaDtdAttlist">id&nbsp;&nbsp;&nbsp;&nbsp;CDATA #IMPLIED</p><p class="code SchemaDtdAttlist">name&nbsp;&nbsp;CDATA #IMPLIED</p>&gt;</p>
<p></p>
<ul class="ConfigMarkupAttlistDesc">
</ul>
<br><p class="code SchemaDtd">&lt;!ELEMENT <a name="e.methodresolver">methodresolver</a> EMPTY&gt;</p>
<p class="code SchemaDtd">&lt;!ATTLIST methodresolver</p>
<p class="code SchemaDtdAttlist">id&nbsp;&nbsp;&nbsp;&nbsp;CDATA #REQUIRED</p><p class="code SchemaDtdAttlist">class&nbsp;CDATA #REQUIRED</p>&gt;</p>
<p></p>
<ul class="ConfigMarkupAttlistDesc">
<li><b>id</b> - The id to be used to identify this method resolver.</li>
<li><b>class</b> - The class implementing the method resolver.</li>
</ul>
<br><h6 class="CaptionFigColumn SchemaHeader">Examples: </h6><p>The following example defines a new method resolver implemented by CustomDTMethodResolver</p>
<p>
<pre class="Example"><span class="code SchemaTag">
&lt;extension
point=</span><span class="code SchemaCstring">&quot;org.eclipse.jst.jsf.designtime.methodresolver&quot;</span><span class="code SchemaTag">&gt;
&lt;methodresolver
class=</span><span class="code SchemaCstring">&quot;org.eclipse.jst.jsf.dtresolver.test.resolvers.CustomDTMethodResolver&quot;</span><span class="code SchemaTag">
id=</span><span class="code SchemaCstring">&quot;org.eclipse.jst.jsf.dtresolver.test.methodresolver2&quot;</span><span class="code SchemaTag">/&gt;
&lt;/extension&gt;
</span></pre>
</p>
<p></p>
<br>
<p class="note SchemaCopyright">
Copyright 2006 Oracle
All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License 2.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-2.0/
</p>
</BODY>
</HTML>