Class MessageFormatPart
java.lang.Object
org.jboss.logging.processor.validation.AbstractFormatPart
org.jboss.logging.processor.validation.MessageFormatPart
- All Implemented Interfaces:
Comparable<FormatPart>
,FormatPart
The parameter portion of the a
MessageFormat
.
**Note: Currently the format type and format style are not validated
Date: 14.06.2011-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate String
private String
private int
private final String
private final int
Fields inherited from interface org.jboss.logging.processor.validation.FormatPart
STRING
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.jboss.logging.processor.validation.AbstractFormatPart
compareTo, toString
-
Field Details
-
originalFormat
-
position
private final int position -
index
private int index -
formatType
-
formatStyle
-
-
Constructor Details
-
MessageFormatPart
-
-
Method Details
-
of
-
index
public int index()Description copied from interface:FormatPart
The parameter index. For default strings (non-parameters) the value is-2
.- Returns:
- the index.
-
position
public int position()Description copied from interface:FormatPart
The position for the part.- Returns:
- the position.
-
part
Description copied from interface:FormatPart
The part of the format.- Returns:
- the part of the format.
-
init
-