|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.mmm.util.nls.api.NlsArgument
public class NlsArgument
This class represents an argument of an
NlsMessage.
| Field Summary | |
|---|---|
private NlsFormatter<?> |
formatter
|
private Justification |
justification
|
private String |
key
|
| Constructor Summary | |
|---|---|
NlsArgument(String key,
NlsFormatter<?> formatter,
Justification justification)
The constructor. |
|
| Method Summary | |
|---|---|
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()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
private final String key
getKey()private final NlsFormatter<?> formatter
getFormatter()private final Justification justification
getJustification()| Constructor Detail |
|---|
public NlsArgument(String key,
NlsFormatter<?> formatter,
Justification justification)
key - is the key.formatter - is the formatter.justification - is the justification.| Method Detail |
|---|
public String getKey()
public NlsFormatter<?> getFormatter()
argument.
public Justification getJustification()
Justification.
null for none.public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||