ViewDeclarationLanguageFactory
is a factory object that creates (if needed) and returns a new ViewDeclarationLanguage instance based on the VDL found in a
specific view.
There must be one ViewDeclarationLanguageFactory instance per web
application that is utilizing JavaServer Faces. This instance can be
acquired, in a portable manner, by calling:
ViewDeclarationLanguageFactory factory = (ViewDeclarationLanguageFactory)
FactoryFinder.getFactory(FactoryFinder.VIEW_DECLARATION_LANGUAGE_FACTORY);
Usage: extend this class and push the implementation being wrapped to the
constructor and use getWrapped to access the instance being wrapped.
| Modifier and Type | Field and Description |
|---|---|
| private ViewDeclarationLanguageFactory |
| Access | Constructor and Description |
|---|---|
| public | ViewDeclarationLanguageFactory()
Deprecated
Use the other constructor taking the implementation being wrapped.
|
| public | ViewDeclarationLanguageFactory(ViewDeclarationLanguageFactory
The implementation being wrapped. wrapped)If this factory has been decorated, the implementation doing the decorating should push the implementation being wrapped to this constructor. |
| Modifier and Type | Method and Description |
|---|---|
| public List | |
| public abstract ViewDeclarationLanguage | Returns: theViewDeclarationLanguage corresponding to the
argument viewIdthe viewId to be inspected for an appropriate
viewId)ViewDeclarationLanguage implementation for the VDL used
in the view.Return the
|
| public ViewDeclarationLanguageFactory | getWrapped()
Implements javax. If this factory has been decorated, the implementation doing the decorating may override this method to provide access to the implementation being wrapped. |
| wrapped | back to summary |
|---|---|
| private ViewDeclarationLanguageFactory wrapped | |
| ViewDeclarationLanguageFactory | back to summary |
|---|---|
| public ViewDeclarationLanguageFactory()
Deprecated Use the other constructor taking the implementation being wrapped.
| |
| ViewDeclarationLanguageFactory | back to summary |
|---|---|
| public ViewDeclarationLanguageFactory(ViewDeclarationLanguageFactory wrapped) If this factory has been decorated,
the implementation doing the decorating should push the implementation being wrapped to this constructor.
The
| |
| getAllViewDeclarationLanguages | back to summary |
|---|---|
| public List | |
| getViewDeclarationLanguage | back to summary |
|---|---|
| public abstract ViewDeclarationLanguage getViewDeclarationLanguage(String viewId) Return the
| |
| getWrapped | back to summary |
|---|---|
| public ViewDeclarationLanguageFactory getWrapped() Implements javax. If this factory has been decorated, the implementation doing the decorating may override this method to provide access to the implementation being wrapped.
| |