Package com.ibm.icu.message2
Class FormattedPlaceholder
- java.lang.Object
-
- com.ibm.icu.message2.FormattedPlaceholder
-
@Deprecated public class FormattedPlaceholder extends Object
Deprecated.This API is for ICU internal use only.An immutable, richer formatting result, encapsulating aFormattedValue
, the original value to format, and we are considering adding some more info. Very preliminary.- Status:
- Technology Preview. This API is still in the early stages of development. Use at your own risk.
-
-
Constructor Summary
Constructors Constructor Description FormattedPlaceholder(Object inputValue, FormattedValue formattedValue)
Deprecated.This API is for ICU internal use only.FormattedPlaceholder(Object inputValue, FormattedValue formattedValue, Directionality directionality, boolean isolate)
Deprecated.This API is for ICU internal use only.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Directionality
getDirectionality()
Deprecated.This API is for ICU internal use only.FormattedValue
getFormattedValue()
Deprecated.This API is for ICU internal use only.Object
getInput()
Deprecated.This API is for ICU internal use only.boolean
getIsolate()
Deprecated.This API is for ICU internal use only.String
toString()
Deprecated.This API is for ICU internal use only.
-
-
-
Constructor Detail
-
FormattedPlaceholder
@Deprecated public FormattedPlaceholder(Object inputValue, FormattedValue formattedValue, Directionality directionality, boolean isolate)
Deprecated.This API is for ICU internal use only.Constructor creating theFormattedPlaceholder
.- Parameters:
inputValue
- the original value to be formatted.formattedValue
- the result of formatting the placeholder.directionality
- the directionality of the formatted placeholder.isolate
- true if the placeholder should be considered a bidi isolate.- Status:
- Technology Preview. This API is still in the early stages of development. Use at your own risk.
-
FormattedPlaceholder
@Deprecated public FormattedPlaceholder(Object inputValue, FormattedValue formattedValue)
Deprecated.This API is for ICU internal use only.Constructor creating theFormattedPlaceholder
.- Parameters:
inputValue
- the original value to be formatted.formattedValue
- the result of formatting the placeholder.- Status:
- Technology Preview. This API is still in the early stages of development. Use at your own risk.
-
-
Method Detail
-
getInput
@Deprecated public Object getInput()
Deprecated.This API is for ICU internal use only.Retrieve the original input value that was formatted.- Returns:
- the original value to be formatted.
- Status:
- Technology Preview. This API is still in the early stages of development. Use at your own risk.
-
getFormattedValue
@Deprecated public FormattedValue getFormattedValue()
Deprecated.This API is for ICU internal use only.Retrieve the formatted value.- Returns:
- the result of formatting the placeholder.
- Status:
- Technology Preview. This API is still in the early stages of development. Use at your own risk.
-
getDirectionality
@Deprecated public Directionality getDirectionality()
Deprecated.This API is for ICU internal use only.Retrieve the directionality of the formatted the placeholder.- Returns:
- the directionality.
- Status:
- Technology Preview. This API is still in the early stages of development. Use at your own risk.
-
getIsolate
@Deprecated public boolean getIsolate()
Deprecated.This API is for ICU internal use only.Retrieve the BiDi isolate setting of the formatted the placeholder.- Returns:
- the BiDi isolate setting.
- Status:
- Technology Preview. This API is still in the early stages of development. Use at your own risk.
-
toString
@Deprecated public String toString()
Deprecated.This API is for ICU internal use only.Returns a string representation of the object. It can be null, which is unusual, and we plan to change that.
-
-