Package com.ibm.icu.text
Class MessagePatternUtil.MessageContentsNode
- java.lang.Object
-
- com.ibm.icu.text.MessagePatternUtil.Node
-
- com.ibm.icu.text.MessagePatternUtil.MessageContentsNode
-
- Direct Known Subclasses:
MessagePatternUtil.ArgNode,MessagePatternUtil.TextNode
- Enclosing class:
- MessagePatternUtil
public static class MessagePatternUtil.MessageContentsNode extends MessagePatternUtil.Node
A piece of MessageNode contents. Use getType() to determine the type and the actual Node subclass.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMessagePatternUtil.MessageContentsNode.TypeThe type of a piece of MessageNode contents.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MessagePatternUtil.MessageContentsNode.TypegetType()Returns the type of this piece of MessageNode contents.StringtoString()Returns a string containing a concise, human-readable description of this object.
-
-
-
Method Detail
-
getType
public MessagePatternUtil.MessageContentsNode.Type getType()
Returns the type of this piece of MessageNode contents.
-
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.
-
-