public static class Species.SpeciesRender extends HtmlRender<Species>
Constructor and Description |
---|
SpeciesRender() |
Modifier and Type | Method and Description |
---|---|
Object |
getContent(SerializerSession session,
Species value)
Returns the delegate value for the specified bean property value.
|
String |
getStyle(SerializerSession session,
Species value)
Returns the CSS style of the element containing the bean property value.
|
public SpeciesRender()
public Object getContent(SerializerSession session, Species 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<Species>
session
- The current serializer session.
Can be used to retrieve properties and session-level information.value
- The bean property value.public String getStyle(SerializerSession session, Species value)
HtmlRender
getStyle
in class HtmlRender<Species>
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.