blob: 499bd7968fc8cbd55c172f360c6fc2d34c638fa9 [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>Variable Resolver</title>
<style>@import url("../../book.css");</style>
<style>@import url("../../schema.css");</style>
</HEAD>
<BODY>
<H1><CENTER>Variable Resolver</CENTER></H1>
<p></p>
<h6 class=CaptionFigColumn id=header>Identifier: </h6>org.eclipse.jst.jsf.designtime.variableresolver<p></p>
<h6 class=CaptionFigColumn id=header>Since: </h6>1.0
<p></p>
<p>
<h6 class=CaptionFigColumn id=header>Description: </h6>Allows a third-party to define an alternative instance of the design time variable resolver. This id can then be set on a project using DesignTimeApplicationManager.setVariableResolverProvider. Once set on a project this id will be used to load the active design time variable resolver.</p>
<p><h6 class=CaptionFigColumn id=header>Configuration Markup:</h6></p>
<p class=code id=dtd>&lt;!ELEMENT <a name="e.extension">extension</a> (<a href="#e.variableresolver">variableresolver</a>)&gt;</p>
<p class=code id=dtd>&lt;!ATTLIST extension</p>
<p class=code id=dtdAttlist>point&nbsp;CDATA #REQUIRED<p class=code id=dtdAttlist>id&nbsp;&nbsp;&nbsp;&nbsp;CDATA #IMPLIED<p class=code id=dtdAttlist>name&nbsp;&nbsp;CDATA #IMPLIED&gt;</p>
<p></p>
<ul class=ConfigMarkup id=attlistDesc>
</ul>
<br><p class=code id=dtd>&lt;!ELEMENT <a name="e.variableresolver">variableresolver</a> EMPTY&gt;</p>
<p class=code id=dtd>&lt;!ATTLIST variableresolver</p>
<p class=code id=dtdAttlist>id&nbsp;&nbsp;&nbsp;&nbsp;CDATA #REQUIRED<p class=code id=dtdAttlist>class&nbsp;CDATA #REQUIRED&gt;</p>
<p></p>
<ul class=ConfigMarkup id=attlistDesc>
<li><b>id</b> - The id to be used to identify this property resolver.</li>
<li><b>class</b> - The class implementing the property resolver.</li>
</ul>
<br><h6 class=CaptionFigColumn id=header>Examples: </h6><p>The following example defines a new variable resolver implemented by CustomDTVariableResolver</p>
<p>
<pre>
<p class=code id=tag>&lt;extension
point=<p class=code id=cstring>&quot;org.eclipse.jst.jsf.designtime.variableresolver&quot;</p><p class=code id=tag>&gt;</p>
<p class=code id=tag>&lt;variableresolver
class=<p class=code id=cstring>&quot;org.eclipse.jst.jsf.dtresolver.test.resolvers.CustomDTVariableResolver&quot;</p><p class=code id=tag>
id=<p class=code id=cstring>&quot;org.eclipse.jst.jsf.dtresolver.test.variableresolver1&quot;</p><p class=code id=tag>/&gt;</p>
<p class=code id=tag>&lt;/extension&gt;</p>
</pre>
</p>
<p></p>
<br>
<p class=note id=copyright>
Copyright 2006 Oracle
All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html
<p></p>
</p>
</BODY>
</HTML>