public abstract class VisitContextFactory extends Object implements FacesWrapper<VisitContextFactory>
Provide for separation of interface and implementation for the
VisitContext
contract.
Usage: extend this class and push the implementation being wrapped to the constructor and use getWrapped()
to
access the instance being wrapped.
Constructor and Description |
---|
VisitContextFactory()
Deprecated.
Use the other constructor taking the implementation being wrapped.
|
VisitContextFactory(VisitContextFactory 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 |
---|---|
abstract VisitContext |
getVisitContext(FacesContext context,
Collection<String> ids,
Set<VisitHint> hints)
Return a new |
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. |
@Deprecated public VisitContextFactory()
public VisitContextFactory(VisitContextFactory wrapped)
If this factory has been decorated, the implementation doing the decorating should push the implementation being
wrapped to this constructor. The getWrapped()
will then return the implementation being wrapped.
wrapped
- The implementation being wrapped.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.
getWrapped
in interface FacesWrapper<VisitContextFactory>
public abstract VisitContext getVisitContext(FacesContext context, Collection<String> ids, Set<VisitHint> hints)
Return a new VisitContext
instance.
context
- the FacesContext
for this request.ids
- a Collection
of clientIds to visit. If null
all components will be visited.hints
- the VisitHints
that apply to this visit.VisitContext
.Copyright © 2018,2020 Eclipse Foundation.
Use is subject to license terms.