public class NlsArgument extends Object
NlsMessage.| Modifier and Type | Field and Description |
|---|---|
private NlsFormatter<?> |
formatter |
private Justification |
justification |
private String |
key |
| Constructor and Description |
|---|
NlsArgument(String key,
NlsFormatter<?> formatter,
Justification justification)
The constructor.
|
| Modifier and Type | Method and Description |
|---|---|
NlsFormatter<?> |
getFormatter()
Is the formatter used to format the
argument. |
Justification |
getJustification()
This method gets the optional
Justification. |
String |
getKey()
This method gets the key of the argument to format.
|
String |
toString() |
private final NlsFormatter<?> formatter
getFormatter()private final Justification justification
getJustification()public NlsArgument(String key, NlsFormatter<?> formatter, Justification justification)
key - is the key.formatter - is the formatter.justification - is the justification.public String getKey()
public NlsFormatter<?> getFormatter()
argument.public Justification getJustification()
Justification.null for none.Copyright © 2001–2015 mmm-Team. All rights reserved.