JSF Test Framework: Mock 1.1.2

org.jboss.test.faces.mock.view
Class MockViewDeclarationLanguage

java.lang.Object
  extended by javax.faces.view.ViewDeclarationLanguage
      extended by org.jboss.test.faces.mock.view.MockViewDeclarationLanguage
All Implemented Interfaces:
FacesMockController.MockObject

public class MockViewDeclarationLanguage
extends javax.faces.view.ViewDeclarationLanguage
implements FacesMockController.MockObject


Field Summary
 
Fields inherited from class javax.faces.view.ViewDeclarationLanguage
FACELETS_VIEW_DECLARATION_LANGUAGE_ID, JSP_VIEW_DECLARATION_LANGUAGE_ID
 
Constructor Summary
MockViewDeclarationLanguage()
          Default constructor
MockViewDeclarationLanguage(org.easymock.IMocksControl control, String name)
           
 
Method Summary
 void buildView(javax.faces.context.FacesContext arg0, javax.faces.component.UIViewRoot arg1)
           
 javax.faces.component.UIViewRoot createView(javax.faces.context.FacesContext arg0, String arg1)
           
 boolean equals(Object obj)
           
 BeanInfo getComponentMetadata(javax.faces.context.FacesContext arg0, javax.faces.application.Resource arg1)
           
 org.easymock.IMocksControl getControl()
           
 String getId()
           
 javax.faces.application.Resource getScriptComponentResource(javax.faces.context.FacesContext arg0, javax.faces.application.Resource arg1)
           
 javax.faces.view.StateManagementStrategy getStateManagementStrategy(javax.faces.context.FacesContext arg0, String arg1)
           
 javax.faces.view.ViewMetadata getViewMetadata(javax.faces.context.FacesContext arg0, String arg1)
           
 int hashCode()
           
 void renderView(javax.faces.context.FacesContext arg0, javax.faces.component.UIViewRoot arg1)
           
 javax.faces.component.UIViewRoot restoreView(javax.faces.context.FacesContext arg0, String arg1)
           
 void retargetAttachedObjects(javax.faces.context.FacesContext arg0, javax.faces.component.UIComponent arg1, List arg2)
           
 void retargetMethodExpressions(javax.faces.context.FacesContext arg0, javax.faces.component.UIComponent arg1)
           
 String toString()
           
 boolean viewExists(javax.faces.context.FacesContext arg0, String arg1)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MockViewDeclarationLanguage

public MockViewDeclarationLanguage()
Default constructor


MockViewDeclarationLanguage

public MockViewDeclarationLanguage(org.easymock.IMocksControl control,
                                   String name)
Parameters:
control -
Method Detail

getControl

public org.easymock.IMocksControl getControl()
Specified by:
getControl in interface FacesMockController.MockObject

getId

public String getId()
Overrides:
getId in class javax.faces.view.ViewDeclarationLanguage

getViewMetadata

public javax.faces.view.ViewMetadata getViewMetadata(javax.faces.context.FacesContext arg0,
                                                     String arg1)
Specified by:
getViewMetadata in class javax.faces.view.ViewDeclarationLanguage

createView

public javax.faces.component.UIViewRoot createView(javax.faces.context.FacesContext arg0,
                                                   String arg1)
Specified by:
createView in class javax.faces.view.ViewDeclarationLanguage

renderView

public void renderView(javax.faces.context.FacesContext arg0,
                       javax.faces.component.UIViewRoot arg1)
Specified by:
renderView in class javax.faces.view.ViewDeclarationLanguage

restoreView

public javax.faces.component.UIViewRoot restoreView(javax.faces.context.FacesContext arg0,
                                                    String arg1)
Specified by:
restoreView in class javax.faces.view.ViewDeclarationLanguage

getComponentMetadata

public BeanInfo getComponentMetadata(javax.faces.context.FacesContext arg0,
                                     javax.faces.application.Resource arg1)
Specified by:
getComponentMetadata in class javax.faces.view.ViewDeclarationLanguage

getScriptComponentResource

public javax.faces.application.Resource getScriptComponentResource(javax.faces.context.FacesContext arg0,
                                                                   javax.faces.application.Resource arg1)
Specified by:
getScriptComponentResource in class javax.faces.view.ViewDeclarationLanguage

retargetAttachedObjects

public void retargetAttachedObjects(javax.faces.context.FacesContext arg0,
                                    javax.faces.component.UIComponent arg1,
                                    List arg2)
Overrides:
retargetAttachedObjects in class javax.faces.view.ViewDeclarationLanguage

retargetMethodExpressions

public void retargetMethodExpressions(javax.faces.context.FacesContext arg0,
                                      javax.faces.component.UIComponent arg1)
Overrides:
retargetMethodExpressions in class javax.faces.view.ViewDeclarationLanguage

buildView

public void buildView(javax.faces.context.FacesContext arg0,
                      javax.faces.component.UIViewRoot arg1)
Specified by:
buildView in class javax.faces.view.ViewDeclarationLanguage

getStateManagementStrategy

public javax.faces.view.StateManagementStrategy getStateManagementStrategy(javax.faces.context.FacesContext arg0,
                                                                           String arg1)
Specified by:
getStateManagementStrategy in class javax.faces.view.ViewDeclarationLanguage

viewExists

public boolean viewExists(javax.faces.context.FacesContext arg0,
                          String arg1)
Overrides:
viewExists in class javax.faces.view.ViewDeclarationLanguage

toString

public String toString()
Overrides:
toString in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

JSF Test Framework: Mock 1.1.2

Copyright © 2012 JBoss by Red Hat. All Rights Reserved.