net.sf.mmm.util.nls.impl.formatter
Class NlsFormatterChoice.Choice

java.lang.Object
  extended by net.sf.mmm.util.nls.impl.formatter.NlsFormatterChoice.Choice
Enclosing class:
NlsFormatterChoice

private static final class NlsFormatterChoice.Choice
extends Object

This inner class represents a single choice.


Field Summary
private  NlsArgument argument
          The NlsArgument to use as result or null if result should be used instead.
private  Filter<Object> condition
          The condition that determines when the choice applies.
private  String result
          The literal result.
 
Constructor Summary
private NlsFormatterChoice.Choice(Filter<Object> condition, String result, NlsArgument argument)
          The constructor.
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

condition

private final Filter<Object> condition
The condition that determines when the choice applies.


argument

private final NlsArgument argument
The NlsArgument to use as result or null if result should be used instead.


result

private final String result
The literal result.

Constructor Detail

NlsFormatterChoice.Choice

private NlsFormatterChoice.Choice(Filter<Object> condition,
                                  String result,
                                  NlsArgument argument)
The constructor.

Parameters:
condition - is the condition.
result - is the result.
argument - is the argument.


Copyright © 2001-2010 mmm-Team. All Rights Reserved.