class DefaultRolapMemberFormatter extends Object implements MemberFormatter
MemberFormatter
.
Used to make a minimum formatting in case no custom formatter is specified.
Must be used for RolapMemberBase
only.Constructor and Description |
---|
DefaultRolapMemberFormatter(DefaultFormatter numberFormatter) |
Modifier and Type | Method and Description |
---|---|
String |
formatMember(Member member)
Takes rolap member's caption object to format using number formatter
(eliminating scientific notations and unwanted decimal values)
and returns formatted string value.
|
DefaultRolapMemberFormatter(DefaultFormatter numberFormatter)
public String formatMember(Member member)
We rely on that this formatter will only be used
for RolapMemberBase
objects formatting.
Because we can't simply fallback to a raw caption,
if we are though in a context of OlapElement.getCaption()
,
because it would end up with a stack overflow.
So, now this fromatter set by default
in RolapLevel
only,
and IS only used for RolapMemberBase.
formatMember
in interface MemberFormatter