| <!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>Symbol Source Provider</title> |
| <style>@import url("../../book.css");</style> |
| <style>@import url("../../schema.css");</style> |
| </HEAD> |
| <BODY> |
| <H1><CENTER>Symbol Source Provider</CENTER></H1> |
| <p></p> |
| <h6 class=CaptionFigColumn id=header>Identifier: </h6>org.eclipse.jst.jsf.context.symbol.symbols<p></p> |
| <h6 class=CaptionFigColumn id=header>Since: </h6>1.5 |
| <p></p> |
| |
| <p> |
| <h6 class=CaptionFigColumn id=header>Description: </h6>A symbol source provider is called to discover EL namespace variable symbols. For example, managed bean variable symbols, are contributed through a symbol source provider. A symbol source provider may or may not wish to use a context symbol factory depending on the situation. |
| |
| When an EL variable is resolved, each symbol provider will be considered equally. All of the information that determines a symbol's characteristics must be encoded in the returned ISymbol object. |
| |
| A list of registered symbol providers may be found by calling SymbolsPlugin.getSymbolSourceProvider().</p> |
| <p><h6 class=CaptionFigColumn id=header>Configuration Markup:</h6></p> |
| <p class=code id=dtd><!ELEMENT <a name="e.extension">extension</a> (<a href="#e.symbolSourceId">symbolSourceId</a>)></p> |
| <p class=code id=dtd><!ATTLIST extension</p> |
| <p class=code id=dtdAttlist>point CDATA #REQUIRED<p class=code id=dtdAttlist>id CDATA #IMPLIED<p class=code id=dtdAttlist>name CDATA #IMPLIED></p> |
| <p></p> |
| <ul class=ConfigMarkup id=attlistDesc> |
| </ul> |
| <br><p class=code id=dtd><!ELEMENT <a name="e.symbolSourceId">symbolSourceId</a> EMPTY></p> |
| <p class=code id=dtd><!ATTLIST symbolSourceId</p> |
| <p class=code id=dtdAttlist>factory CDATA #REQUIRED></p> |
| <p></p> |
| <ul class=ConfigMarkup id=attlistDesc> |
| <li><b>factory</b> - An instance of the factory interface that will be invoked to create an instance of this symbol source provider. Factory must have a zero-arg default constructor.</li> |
| </ul> |
| <br><h6 class=CaptionFigColumn id=header>Examples: </h6>The following xml is used to contribute a set of default providers to contribute managed bean, built-in and tag contributed variables: |
| |
| <p> |
| <pre> |
| <p class=code id=tag><extension |
| point=<p class=code id=cstring>"org.eclipse.jst.jsf.context.symbol.symbolSourceProvider"</p><p class=code id=tag>></p> |
| <p class=code id=tag><symbolSourceId factory=<p class=code id=cstring>"org.eclipse.jst.jsf.designtime.internal.symbols.DefaultBeanSymbolSourceProvider"</p><p class=code id=tag>/></p> |
| <p class=code id=tag><symbolSourceId factory=<p class=code id=cstring>"org.eclipse.jst.jsf.designtime.internal.symbols.JSPTagVariableSymbolSourceProvider"</p><p class=code id=tag>/></p> |
| <p class=code id=tag><symbolSourceId factory=<p class=code id=cstring>"org.eclipse.jst.jsf.designtime.internal.symbols.DefaultBuiltInSymbolProvider"</p><p class=code id=tag>/></p> |
| <p class=code id=tag></extension></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> |