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 java.lang.Object implements FacesWrapper<VisitContextFactory>
Provide for separation of interface and implementation for the
VisitContext
contract.- Since:
- 2.0
-
-
Constructor Summary
Constructors Constructor Description VisitContextFactory()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract VisitContext
getVisitContext(FacesContext context, java.util.Collection<java.lang.String> ids, java.util.Set<VisitHint> hints)
Return a newVisitContext
instance.VisitContextFactory
getWrapped()
If this factory has been decorated, the implementation doing the decorating may override this method to provide access to the implementation being wrapped.
-
-
-
Method Detail
-
getWrapped
public VisitContextFactory 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:
getWrapped
in interfaceFacesWrapper<VisitContextFactory>
- Since:
- 2.0
-
getVisitContext
public abstract VisitContext getVisitContext(FacesContext context, java.util.Collection<java.lang.String> ids, java.util.Set<VisitHint> hints)
Return a new
VisitContext
instance.- Parameters:
context
- theFacesContext
for this request.ids
- aCollection
of clientIds to visit. Ifnull
all components will be visited.hints
- theVisitHints
that apply to this visit.- Since:
- 2.0
-
-