net.sf.mmm.util.nls.api
Interface NlsArgumentParser

All Known Implementing Classes:
AbstractNlsFormatterManager, MappedNlsFormatterManager, NlsFormatterManagerImpl

@ComponentSpecification
public interface NlsArgumentParser

The NlsArgumentParser is used to parse an NlsArgument.

Since:
2.0.0
Author:
Joerg Hohwiller (hohwille at users.sourceforge.net)

Field Summary
static char END_EXPRESSION
          The character used to end a variable expression: 125
static char FORMAT_SEPARATOR
          The character used to separate format type and style: 44
static char START_EXPRESSION
          The character used to start a variable expression: 123
 
Method Summary
 NlsArgument parse(CharSequenceScanner scanner)
          This method parses the internationalized message given as CharSequenceScanner pointing the beginning of an argument (immediately after START_EXPRESSION).
 

Field Detail

START_EXPRESSION

static final char START_EXPRESSION
The character used to start a variable expression: 123

See Also:
Constant Field Values

END_EXPRESSION

static final char END_EXPRESSION
The character used to end a variable expression: 125

See Also:
Constant Field Values

FORMAT_SEPARATOR

static final char FORMAT_SEPARATOR
The character used to separate format type and style: 44

See Also:
Constant Field Values
Method Detail

parse

NlsArgument parse(CharSequenceScanner scanner)
This method parses the internationalized message given as CharSequenceScanner pointing the beginning of an argument (immediately after START_EXPRESSION).

Parameters:
scanner - is the CharSequenceScanner.
Returns:
the according NlsFormatter instance.
See Also:
NlsFormatterManager.getFormatter(String, String)


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