public class OptionLookupValue extends CharSequenceRenderableWrapper
CharSequence
value that when is rendered the corresponding option
value is returned.charSequence, renderable
Constructor and Description |
---|
OptionLookupValue(CharSequence value,
Node optionsNode)
Creates a option lookup renderable for the given value that uses the
given options node to find the corresponding option value.
|
Modifier and Type | Method and Description |
---|---|
String |
getRenderData(IRenderer renderer)
Returns the data of this object in a standard xml format.
|
charAt, getDisplayString, length, subSequence, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
chars, codePoints
public OptionLookupValue(CharSequence value, Node optionsNode)
value
- the CharSequence value.optionsNode
- the options node. During render it is searched for a tag
option with attribute value equals to the
value parameter, and the text context of such tag is localized
and used.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
LumisXP 12.0.0.190809 - Copyright © 2006–2019 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.