Interface StringFormatSpecifier
-
- All Superinterfaces:
org.eclipse.emf.ecore.EObject
,FormatSpecifier
,IChartObject
,org.eclipse.emf.common.notify.Notifier
- All Known Implementing Classes:
StringFormatSpecifierImpl
public interface StringFormatSpecifier extends FormatSpecifier
A representation of the model object 'String Format Specifier'. StringFormatSpecifier extends type FormatSpecifier to devote itself to formatting a string value.The following features are supported:
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringFormatSpecifier
copyInstance()
java.lang.String
format(java.lang.String dValue, com.ibm.icu.util.ULocale lo)
Formats a value using the internally defined format specifier rulesjava.lang.String
getPattern()
Returns the value of the 'Pattern' attribute.void
setPattern(java.lang.String value)
Sets the value of the 'Pattern
' attribute.
-
-
-
Method Detail
-
getPattern
java.lang.String getPattern()
Returns the value of the 'Pattern' attribute. Attribute "Pattern" specifies the format pattern.- Returns:
- the value of the 'Pattern' attribute.
- See Also:
setPattern(String)
,AttributePackage.getStringFormatSpecifier_Pattern()
-
setPattern
void setPattern(java.lang.String value)
Sets the value of the 'Pattern
' attribute.- Parameters:
value
- the new value of the 'Pattern' attribute.- See Also:
getPattern()
-
copyInstance
StringFormatSpecifier copyInstance()
- Specified by:
copyInstance
in interfaceFormatSpecifier
- Specified by:
copyInstance
in interfaceIChartObject
-
format
java.lang.String format(java.lang.String dValue, com.ibm.icu.util.ULocale lo)
Formats a value using the internally defined format specifier rules- Parameters:
dValue
-- Returns:
- A formatted string representation of the string value provided
-
-