public class BeanBlockSourceImpl extends Object implements BeanBlockSource
Constructor and Description |
---|
BeanBlockSourceImpl(RequestPageCache pageCache,
BeanBlockOverrideSource overrideSource,
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 BeanBlockSourceImpl(RequestPageCache pageCache, BeanBlockOverrideSource overrideSource, Collection<BeanBlockContribution> configuration)
public boolean hasDisplayBlock(String datatype)
BeanBlockSource
hasDisplayBlock
in interface BeanBlockSource
datatype
- to check forpublic Block getDisplayBlock(String datatype)
BeanBlockSource
getDisplayBlock
in interface BeanBlockSource
datatype
- logical name for the type of data to be displayedpublic Block getEditBlock(String datatype)
BeanBlockSource
getEditBlock
in interface BeanBlockSource
datatype
- logical name for the type of data to be displayed5.6.3 - Copyright © 2003-2021 The Apache Software Foundation.