public static enum MessagePatternUtil.MessageContentsNode.Type extends Enum<MessagePatternUtil.MessageContentsNode.Type>
Enum Constant and Description |
---|
ARG
This is an ArgNode representing a message argument
(downcast and use specific methods).
|
REPLACE_NUMBER
This Node represents a place in a plural argument's variant where
the formatted (plural-offset) value is to be put.
|
TEXT
This is a TextNode containing literal text (downcast and call getText()).
|
Modifier and Type | Method and Description |
---|---|
static MessagePatternUtil.MessageContentsNode.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MessagePatternUtil.MessageContentsNode.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MessagePatternUtil.MessageContentsNode.Type TEXT
public static final MessagePatternUtil.MessageContentsNode.Type ARG
public static final MessagePatternUtil.MessageContentsNode.Type REPLACE_NUMBER
public static MessagePatternUtil.MessageContentsNode.Type[] values()
for (MessagePatternUtil.MessageContentsNode.Type c : MessagePatternUtil.MessageContentsNode.Type.values()) System.out.println(c);
public static MessagePatternUtil.MessageContentsNode.Type valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2016 Unicode, Inc. and others.