Class BeanBlockOverrideSourceImpl
- java.lang.Object
 - 
- org.apache.tapestry5.internal.services.BeanBlockOverrideSourceImpl
 
 
- 
- All Implemented Interfaces:
 BeanBlockOverrideSource
public class BeanBlockOverrideSourceImpl extends Object implements BeanBlockOverrideSource
 
- 
- 
Constructor Summary
Constructors Constructor Description BeanBlockOverrideSourceImpl(RequestPageCache pageCache, Collection<BeanBlockContribution> configuration) 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BlockgetDisplayBlock(String datatype)Returns a block which can be used to render output for the given data type.BlockgetEditBlock(String datatype)Returns a block which can be used to render an editor for the given data type, in the form of a field label and input field.booleanhasDisplayBlock(String datatype)Checks to see if there is a display block for the indicated data type. 
 - 
 
- 
- 
Constructor Detail
- 
BeanBlockOverrideSourceImpl
public BeanBlockOverrideSourceImpl(RequestPageCache pageCache, Collection<BeanBlockContribution> configuration)
 
 - 
 
- 
Method Detail
- 
hasDisplayBlock
public boolean hasDisplayBlock(String datatype)
Description copied from interface:BeanBlockOverrideSourceChecks to see if there is a display block for the indicated data type.- Specified by:
 hasDisplayBlockin interfaceBeanBlockOverrideSource- Parameters:
 datatype- to check for- Returns:
 - true if an override display block is available
 
 
- 
getDisplayBlock
public Block getDisplayBlock(String datatype)
Description copied from interface:BeanBlockOverrideSourceReturns a block which can be used to render output for the given data type.- Specified by:
 getDisplayBlockin interfaceBeanBlockOverrideSource- Parameters:
 datatype- logical name for the type of data to be displayed- Returns:
 - the Block
 
 
- 
getEditBlock
public Block getEditBlock(String datatype)
Description copied from interface:BeanBlockOverrideSourceReturns a block which can be used to render an editor for the given data type, in the form of a field label and input field.- Specified by:
 getEditBlockin interfaceBeanBlockOverrideSource- Parameters:
 datatype- logical name for the type of data to be displayed- Returns:
 - the Block
 
 
 - 
 
 -