org.apache.myfaces.test.mock.visit
Class MockVisitContext

java.lang.Object
  extended by javax.faces.component.visit.VisitContext
      extended by org.apache.myfaces.test.mock.visit.MockVisitContext

public class MockVisitContext
extends javax.faces.component.visit.VisitContext

Mock implementation of VisitContext.

$Id: MockVisitContext.java 990408 2010-08-28 18:59:21Z lu4242 $

Since:
1.0.0

Field Summary
 
Fields inherited from class javax.faces.component.visit.VisitContext
ALL_IDS
 
Constructor Summary
MockVisitContext(javax.faces.context.FacesContext facesContext)
           
MockVisitContext(javax.faces.context.FacesContext facesContext, Set<javax.faces.component.visit.VisitHint> hints)
           
 
Method Summary
 javax.faces.context.FacesContext getFacesContext()
           
 Set<javax.faces.component.visit.VisitHint> getHints()
           
 Collection<String> getIdsToVisit()
           
 Collection<String> getSubtreeIdsToVisit(javax.faces.component.UIComponent component)
           
 javax.faces.component.visit.VisitResult invokeVisitCallback(javax.faces.component.UIComponent component, javax.faces.component.visit.VisitCallback callback)
           
 
Methods inherited from class javax.faces.component.visit.VisitContext
createVisitContext, createVisitContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MockVisitContext

public MockVisitContext(javax.faces.context.FacesContext facesContext)

MockVisitContext

public MockVisitContext(javax.faces.context.FacesContext facesContext,
                        Set<javax.faces.component.visit.VisitHint> hints)
Method Detail

getFacesContext

public javax.faces.context.FacesContext getFacesContext()
Specified by:
getFacesContext in class javax.faces.component.visit.VisitContext

getHints

public Set<javax.faces.component.visit.VisitHint> getHints()
Specified by:
getHints in class javax.faces.component.visit.VisitContext

getIdsToVisit

public Collection<String> getIdsToVisit()
Specified by:
getIdsToVisit in class javax.faces.component.visit.VisitContext

getSubtreeIdsToVisit

public Collection<String> getSubtreeIdsToVisit(javax.faces.component.UIComponent component)
Specified by:
getSubtreeIdsToVisit in class javax.faces.component.visit.VisitContext

invokeVisitCallback

public javax.faces.component.visit.VisitResult invokeVisitCallback(javax.faces.component.UIComponent component,
                                                                   javax.faces.component.visit.VisitCallback callback)
Specified by:
invokeVisitCallback in class javax.faces.component.visit.VisitContext


Copyright © 2011 The Apache Software Foundation. All Rights Reserved.