@StableMinor(version="12.3", sinceVersion="4.0") public class RenderDataValue extends CharSequenceRenderableWrapper
CharSequence
value to be used directly as the render data.charSequence, renderable
Constructor and Description |
---|
RenderDataValue(CharSequence value)
Creates a new RenderDataValue that uses the given
CharSequence
as getDisplayString(IRenderer) and getRenderData(IRenderer) . |
Modifier and Type | Method and Description |
---|---|
String |
getDisplayString(IRenderer renderer)
Returns the string to be displayed for representing this instance, when
a short display is required.
|
String |
getRenderData(IRenderer renderer)
Returns the data of this object in a standard xml format.
|
charAt, length, subSequence, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
chars, codePoints
public RenderDataValue(CharSequence value)
CharSequence
as getDisplayString(IRenderer)
and getRenderData(IRenderer)
.
If the given value is null, an empty string will be used instead.value
- the string.public String getRenderData(IRenderer renderer) throws PortalException
IRenderable
getRenderData
in interface IRenderable
getRenderData
in class CharSequenceRenderableWrapper
renderer
- the renderer object that will use the returned render data.PortalException
public String getDisplayString(IRenderer renderer) throws PortalException
IRenderable
getDisplayString
in interface IRenderable
getDisplayString
in class CharSequenceRenderableWrapper
renderer
- the renderer object that will use the returned render data.PortalException
LumisXP 12.3.0.200408 - Copyright © 2006–2020 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.