Package javax.faces.component.visit
Class VisitContextFactory
java.lang.Object
javax.faces.component.visit.VisitContextFactory
- All Implemented Interfaces:
FacesWrapper<VisitContextFactory>
public abstract class VisitContextFactory
extends Object
implements FacesWrapper<VisitContextFactory>
Provide for separation of interface and
implementation for the VisitContext contract.
- Since:
- 2.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract VisitContextgetVisitContext(FacesContext context, Collection<String> ids, Set<VisitHint> hints) Return a newVisitContextinstance.If this factory has been decorated, the implementation doing the decorating may override this method to provide access to the implementation being wrapped.
-
Constructor Details
-
VisitContextFactory
public VisitContextFactory()
-
-
Method Details
-
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.- Specified by:
getWrappedin interfaceFacesWrapper<VisitContextFactory>- Since:
- 2.0
-
getVisitContext
public abstract VisitContext getVisitContext(FacesContext context, Collection<String> ids, Set<VisitHint> hints) Return a new
VisitContextinstance.- Parameters:
context- theFacesContextfor this request.ids- aCollectionof clientIds to visit. Ifnullall components will be visited.hints- theVisitHintsthat apply to this visit.- Since:
- 2.0
-