Package com.ibm.icu.text
Class MessagePatternUtil.ArgNode
java.lang.Object
com.ibm.icu.text.MessagePatternUtil.Node
com.ibm.icu.text.MessagePatternUtil.MessageContentsNode
com.ibm.icu.text.MessagePatternUtil.ArgNode
- Enclosing class:
MessagePatternUtil
A piece of MessageNode contents representing a message argument and its details.
-
Nested Class Summary
Nested classes/interfaces inherited from class com.ibm.icu.text.MessagePatternUtil.MessageContentsNode
MessagePatternUtil.MessageContentsNode.Type
-
Method Summary
Methods inherited from class com.ibm.icu.text.MessagePatternUtil.MessageContentsNode
getType
-
Method Details
-
getArgType
- Returns:
- the argument type
-
getName
- Returns:
- the argument name string (the decimal-digit string if the argument has a number)
-
getNumber
public int getNumber()- Returns:
- the argument number, or -1 if none (for a named argument)
-
getTypeName
- Returns:
- the argument type string, or null if none was specified
-
getSimpleStyle
- Returns:
- the simple-argument style string, or null if no style is specified and for other argument types
-
getComplexStyle
- Returns:
- the complex-argument-style object, or null if the argument type is NONE_ARG or SIMPLE_ARG
-
toString
- Overrides:
toString
in classMessagePatternUtil.MessageContentsNode
-