JSF Test Framework: Mockito 1.1.2

org.jboss.test.faces.mockito.component
Class TreeBuilderImpl<C extends javax.faces.component.UIComponent>

java.lang.Object
  extended by org.jboss.test.faces.mockito.component.TreeBuilderImpl<C>
All Implemented Interfaces:
TreeBuilder<C>
Direct Known Subclasses:
ViewBuilder

public class TreeBuilderImpl<C extends javax.faces.component.UIComponent>
extends Object
implements TreeBuilder<C>

This class builds tree of mock components

Author:
asmirnov@exadel.com

Constructor Summary
protected TreeBuilderImpl(C component)
           
 
Method Summary
 TreeBuilder<C> children(TreeBuilder<?>... builders)
           
 TreeBuilder<C> facets(Facet<?>... facets)
           
 C getComponent()
           
 TreeBuilder<C> id(String id)
           
 void visitTree(org.jboss.test.faces.mockito.component.TreeVisitor visitor)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TreeBuilderImpl

protected TreeBuilderImpl(C component)
Method Detail

id

public TreeBuilder<C> id(String id)
Specified by:
id in interface TreeBuilder<C extends javax.faces.component.UIComponent>

visitTree

public void visitTree(org.jboss.test.faces.mockito.component.TreeVisitor visitor)
Specified by:
visitTree in interface TreeBuilder<C extends javax.faces.component.UIComponent>

getComponent

public C getComponent()
Specified by:
getComponent in interface TreeBuilder<C extends javax.faces.component.UIComponent>

children

public TreeBuilder<C> children(TreeBuilder<?>... builders)
Specified by:
children in interface TreeBuilder<C extends javax.faces.component.UIComponent>

facets

public TreeBuilder<C> facets(Facet<?>... facets)
Specified by:
facets in interface TreeBuilder<C extends javax.faces.component.UIComponent>

JSF Test Framework: Mockito 1.1.2

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