public class BeanBlockOverrideSourceImpl extends Object implements BeanBlockOverrideSource
| Constructor and Description |
|---|
BeanBlockOverrideSourceImpl(RequestPageCache pageCache,
Collection<BeanBlockContribution> configuration) |
| Modifier and Type | Method and Description |
|---|---|
Block |
getDisplayBlock(String datatype)
Returns a block which can be used to render output for the given data type.
|
Block |
getEditBlock(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.
|
boolean |
hasDisplayBlock(String datatype)
Checks to see if there is a display block for the indicated data type.
|
public BeanBlockOverrideSourceImpl(RequestPageCache pageCache, Collection<BeanBlockContribution> configuration)
public boolean hasDisplayBlock(String datatype)
BeanBlockOverrideSourcehasDisplayBlock in interface BeanBlockOverrideSourcedatatype - to check forpublic Block getDisplayBlock(String datatype)
BeanBlockOverrideSourcegetDisplayBlock in interface BeanBlockOverrideSourcedatatype - logical name for the type of data to be displayedpublic Block getEditBlock(String datatype)
BeanBlockOverrideSourcegetEditBlock in interface BeanBlockOverrideSourcedatatype - logical name for the type of data to be displayed5.6.4 - Copyright © 2003-2021 The Apache Software Foundation.