@UsesConfiguration(value=BeanBlockContribution.class) public interface BeanBlockOverrideSource
BeanBlockSource
for a particular data type. The
service accepts the same configuration of BeanBlockContribution
s as the main
service.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.
|
Block getEditBlock(String datatype)
datatype
- logical name for the type of data to be displayedNullPointerException
- if no override is availableBlock getDisplayBlock(String datatype)
datatype
- logical name for the type of data to be displayedNullPointerException
- if no override is availableboolean hasDisplayBlock(String datatype)
datatype
- to check for${project.version} - Copyright © 2003-2015 The Apache Software Foundation.