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
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate MessagePattern.ArgType
private String
private int
private String
private String
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static MessagePatternUtil.ArgNode
getName()
int
toString()
Methods inherited from class com.ibm.icu.text.MessagePatternUtil.MessageContentsNode
getType
-
Field Details
-
argType
-
name
-
number
private int number -
typeName
-
style
-
complexStyle
-
-
Constructor Details
-
ArgNode
private ArgNode()
-
-
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
-
createArgNode
-