lumis.doui.source.field
Class LocalizableCharSequenceValue
java.lang.Object
lumis.doui.render.CharSequenceRenderableWrapper
lumis.doui.source.field.LocalizableCharSequenceValue
- All Implemented Interfaces:
- CharSequence, IRenderable
public class LocalizableCharSequenceValue
- extends CharSequenceRenderableWrapper
A CharSequence
that when is rendered using its IRenderable
interface it is localized to the current locale.
- Since:
- 4.0.4
LocalizableCharSequenceValue
public LocalizableCharSequenceValue(CharSequence charSequence)
getRenderData
public String getRenderData(IRenderer renderer)
throws PortalException
- Description copied from interface:
IRenderable
- Returns the data of this object in a standard xml format.
- Specified by:
getRenderData
in interface IRenderable
- Overrides:
getRenderData
in class CharSequenceRenderableWrapper
- Parameters:
renderer
- the renderer object that will use the returned render data.
- Returns:
- the xml data for this object.
- Throws:
PortalException
getDisplayString
public String getDisplayString(IRenderer renderer)
throws PortalException
- Description copied from interface:
IRenderable
- Returns the string to be displayed for representing this instance, when
a short display is required.
- Specified by:
getDisplayString
in interface IRenderable
- Overrides:
getDisplayString
in class CharSequenceRenderableWrapper
- Parameters:
renderer
- the renderer object that will use the returned render data.
- Returns:
- the string to be used to friendly display this instance.
- Throws:
PortalException
Lumisportal 4.1.0.071221 - Copyright © 2001-2007, Lumis. All Rights Reserved.