Package nz.org.riskscape.engine.output
Class StructFlattener.DotSeparatedNamer
java.lang.Object
nz.org.riskscape.engine.output.StructFlattener.DotSeparatedNamer
- All Implemented Interfaces:
StructFlattener.Namer
- Enclosing class:
- StructFlattener
public static class StructFlattener.DotSeparatedNamer
extends Object
implements StructFlattener.Namer
Namer that produces a name that is taken from Struct.StructMember.getKey()
for each segment and
separated by a '.'.
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
DotSeparatedNamer
public DotSeparatedNamer()
-
-
Method Details
-
name
Description copied from interface:StructFlattener.Namer
Get a name for the the given segments.
- Specified by:
name
in interfaceStructFlattener.Namer
- Parameters:
segments
- segments to provide a name for- Returns:
- name to be used for the given segments
-