Class MessageObjectWithContext
java.lang.Object
org.kingdoms.locale.compiler.builders.MessageObjectWithContext
- All Implemented Interfaces:
MessageObjectBuilder
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidbuild(ComplexMessageBuilderContextProvider contextProvider) voidbuild(PlainMessageBuilderContextProvider contextProvider) evaluatePlaceholdersOnly(MessageBuilder placeholderContextProvider) EvaluatesMessagePiece.Variableinto their own individual pieces after being translated.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.kingdoms.locale.compiler.builders.MessageObjectBuilder
build, buildComplex, buildPlain
-
Constructor Details
-
MessageObjectWithContext
-
-
Method Details
-
build
- Specified by:
buildin interfaceMessageObjectBuilder
-
build
- Specified by:
buildin interfaceMessageObjectBuilder
-
evaluatePlaceholdersOnly
Description copied from interface:MessageObjectBuilderEvaluatesMessagePiece.Variableinto their own individual pieces after being translated. This is useful for knowing the exact length and structure of the message which can be used to obtain the last colors in a message which itself is useful for multi-line situations such as color in items.- Specified by:
evaluatePlaceholdersOnlyin interfaceMessageObjectBuilder
-