Class PersonHtmlRenderable
- java.lang.Object
-
- it.tidalwave.thesefoolishthings.examples.person.PersonHtmlRenderable
-
- All Implemented Interfaces:
HtmlRenderable
,StringRenderable
@DciRole(datumType=Person.class) public class PersonHtmlRenderable extends java.lang.Object implements HtmlRenderable, StringRenderable
The implementation of theHtmlRenderable
role forPerson
.- Author:
- Fabrizio Giudici
- Stereotype:
- Role
-
-
Field Summary
-
Fields inherited from interface it.tidalwave.role.HtmlRenderable
_HtmlRenderable_
-
Fields inherited from interface it.tidalwave.role.StringRenderable
_StringRenderable_
-
-
Constructor Summary
Constructors Constructor Description PersonHtmlRenderable()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
render(java.lang.Object... args)
Renders the attached object into aString
.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface it.tidalwave.role.StringRenderable
renderTo, renderTo
-
-
-
-
Method Detail
-
render
@Nonnull public java.lang.String render(@Nonnull java.lang.Object... args)
Description copied from interface:StringRenderable
Renders the attached object into aString
. The method accepts optional parameters that can be used to control the format of the rendering; they are usually specific of the object attached to this role.- Specified by:
render
in interfaceStringRenderable
- Parameters:
args
- optional rendering parameters- Returns:
- the string
-
-