T
- Property value type@FunctionalInterface public interface PropertyValuePresenter<T>
Property
as a String
.
PropertyValuePresenters are managed by a PropertyValuePresenterRegistry
, which handles the presenters
registration and returns a suitable presenter for a Property
relying on the conditions with which the
presenters were registered.
PropertyValuePresenterRegistry
,
Property.present(Object)
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_PRIORITY
Default
PropertyValuePresenter priority if not specified using Priority annotation. |
Modifier and Type | Method and Description |
---|---|
String |
present(Property<T> property,
T value)
|
static final int DEFAULT_PRIORITY
PropertyValuePresenter
priority if not specified using Priority
annotation.Copyright © 2019 The Holon Platform. All rights reserved.