public static final class NlsFormatterChoice.Choice extends Object
Modifier and Type | Field and Description |
---|---|
private Filter<Object> |
condition
The condition that determines when the choice applies.
|
private List<NlsFormatterChoice.Segment> |
segments
The segments
|
Modifier | Constructor and Description |
---|---|
private |
Choice(Filter<Object> condition,
List<NlsFormatterChoice.Segment> segments)
The constructor.
|
Modifier and Type | Method and Description |
---|---|
Filter<Object> |
getCondition() |
List<NlsFormatterChoice.Segment> |
getSegments() |
boolean |
isElse() |
String |
toString() |
private final Filter<Object> condition
private final List<NlsFormatterChoice.Segment> segments
private Choice(Filter<Object> condition, List<NlsFormatterChoice.Segment> segments)
condition
- is the condition
.segments
- is the List
of NlsFormatterChoice.Segment
s.public Filter<Object> getCondition()
determines
if this NlsFormatterChoice.Choice
shall match.public boolean isElse()
true
if coniditon
is '(else)', false
otherwise.public List<NlsFormatterChoice.Segment> getSegments()
List
of NlsFormatterChoice.Segment
s. Do not modify this List
.Copyright © 2001–2016 mmm-Team. All rights reserved.