Package com.ibm.icu.text
Class MessagePatternUtil.MessageNode
- java.lang.Object
-
- com.ibm.icu.text.MessagePatternUtil.Node
-
- com.ibm.icu.text.MessagePatternUtil.MessageNode
-
- Enclosing class:
- MessagePatternUtil
public static class MessagePatternUtil.MessageNode extends MessagePatternUtil.Node
A Node representing a parsed MessageFormat pattern string.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<MessagePatternUtil.MessageContentsNode>getContents()StringtoString()Returns a string containing a concise, human-readable description of this object.
-
-
-
Method Detail
-
getContents
public List<MessagePatternUtil.MessageContentsNode> getContents()
- Returns:
- the list of MessageContentsNode nodes that this message contains
-
toString
public String toString()
Returns a string containing a concise, human-readable description of this object. Subclasses are encouraged to override this method and provide an implementation that takes into account the object's type and data. The default implementation is equivalent to the following expression:getClass().getName() + '@' + Integer.toHexString(hashCode())
See Writing a useful
toStringmethod if you intend implementing your owntoStringmethod.
-
-