public static class FormatterCreateContext.Builder extends Object
Constructor and Description |
---|
Builder(String elementName)
Mondrian schema element name formatter is being created for.
|
Modifier and Type | Method and Description |
---|---|
FormatterCreateContext |
build() |
FormatterCreateContext.Builder |
formatterAttr(String formatterClassName)
In order to support previous version's configurations,
a custom formatter can be specified by only specifying
its class name in attribute "formatter".
|
FormatterCreateContext.Builder |
formatterDef(MondrianDef.ElementFormatter formatterDef)
Data from Mondrian xml schema file to create
a custom implementation of a requested formatter.
|
FormatterCreateContext.Builder |
script(MondrianDef.Script script)
A script data used to create
a script based implementation of a requested formatter.
|
FormatterCreateContext.Builder |
script(String scriptText,
String scriptLanguage)
A script data used to create
a script based implementation of a requested formatter.
|
public Builder(String elementName)
public FormatterCreateContext.Builder formatterDef(MondrianDef.ElementFormatter formatterDef)
public FormatterCreateContext.Builder formatterAttr(String formatterClassName)
public FormatterCreateContext.Builder script(String scriptText, String scriptLanguage)
public FormatterCreateContext.Builder script(MondrianDef.Script script)
public FormatterCreateContext build()
Copyright © 2019 Hitachi Vantara. All rights reserved.