public static final class Pet.PriceRender extends HtmlRender<Float>
Constructor and Description |
---|
PriceRender() |
Modifier and Type | Method and Description |
---|---|
Object |
getContent(SerializerSession session,
Float value)
Returns the delegate value for the specified bean property value.
|
getStyle
public PriceRender()
public Object getContent(SerializerSession session, Float value)
HtmlRender
The default implementation simply returns the same value. A typical use is to return an HTML element using one of the HTML5 DOM beans.
getContent
in class HtmlRender<Float>
session
- The current serializer session.
Can be used to retrieve properties and session-level information.value
- The bean property value.Copyright © 2018 Apache. All rights reserved.