|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.faces.view.ViewDeclarationLanguageFactory
public abstract class ViewDeclarationLanguageFactory
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);
Constructor Summary | |
---|---|
ViewDeclarationLanguageFactory()
|
Method Summary | |
---|---|
abstract ViewDeclarationLanguage |
getViewDeclarationLanguage(java.lang.String viewId)
Return the
|
ViewDeclarationLanguageFactory |
getWrapped()
If this factory has been decorated, the implementation doing the decorating may override this method to provide access to the implementation being wrapped. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ViewDeclarationLanguageFactory()
Method Detail |
---|
public ViewDeclarationLanguageFactory getWrapped()
If this factory has been decorated, the
implementation doing the decorating may override this method to provide
access to the implementation being wrapped. A default implementation
is provided that returns null
.
getWrapped
in interface FacesWrapper<ViewDeclarationLanguageFactory>
public abstract ViewDeclarationLanguage getViewDeclarationLanguage(java.lang.String viewId)
Return the
ViewDeclarationLanguage
instance suitable for
handling the VDL contained in the page referenced by the argument
viewId
. The default implementation must return a
valid ViewDeclarationLanguage
instance for views
written in either JSP, Faces XML Views, or Facelets for JSF
2.
viewId
- the viewId to be inspected for an appropriate
ViewDeclarationLanguage
implementation for the VDL used
in the view.
java.lang.NullPointerException
- if viewId
is null.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 2009-2011, Oracle Corporation and/or its affiliates. All Rights Reserved. Use is subject to license terms.
Generated on 10-February-2011 12:41