public class FormatterFactory extends Object
Modifier and Type | Method and Description |
---|---|
CellFormatter |
createCellFormatter(FormatterCreateContext context)
Given the name of a cell formatter class and/or a cell formatter script,
returns a cell formatter.
|
PropertyFormatter |
createPropertyFormatter(FormatterCreateContext context)
Given the name of a property formatter class
and/or a property formatter script,
returns a property formatter.
|
MemberFormatter |
createRolapMemberFormatter(FormatterCreateContext context)
Given the name of a member formatter class
and/or a member formatter script, returns a member formatter.
|
static FormatterFactory |
instance() |
public static FormatterFactory instance()
public CellFormatter createCellFormatter(FormatterCreateContext context)
Returns null if empty context is passed.
public MemberFormatter createRolapMemberFormatter(FormatterCreateContext context)
Returns default formatter implementation if empty context is passed.
public PropertyFormatter createPropertyFormatter(FormatterCreateContext context)
Returns default formatter implementation if empty context is passed.
Copyright © 2020 Hitachi Vantara. All rights reserved.