Package org.kingdoms.locale.compiler
Class MessagePiece.Plain
java.lang.Object
org.kingdoms.locale.compiler.MessagePiece
org.kingdoms.locale.compiler.MessagePiece.Plain
- Enclosing class:
- MessagePiece
-
Nested Class Summary
Nested classes/interfaces inherited from class org.kingdoms.locale.compiler.MessagePiece
MessagePiece.Color, MessagePiece.ColorAccessor, MessagePiece.Conditional, MessagePiece.HexColor, MessagePiece.Hover, MessagePiece.NewLine, MessagePiece.Plain, MessagePiece.SimpleColor, MessagePiece.Variable -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int+ 3 accounts for the {} around the whole component and the comma after them. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidbuild(HTMLMessageBuilderContextProvider context) voidbuild(PlainMessageBuilderContextProvider context) intintlength()toString()
-
Field Details
-
JSON_LEN
public static final int JSON_LEN+ 3 accounts for the {} around the whole component and the comma after them.
-
-
Constructor Details
-
Plain
-
-
Method Details
-
getMessage
-
build
- Specified by:
buildin classMessagePiece
-
build
- Specified by:
buildin classMessagePiece
-
build
- Specified by:
buildin classMessagePiece
-
length
public int length()- Specified by:
lengthin classMessagePiece
-
jsonLength
public int jsonLength()- Specified by:
jsonLengthin classMessagePiece
-
toString
-