Class PlaceholderContext
java.lang.Object
dev.ua.theroer.magicutils.placeholders.PlaceholderContext
Context for placeholder rendering.
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescription@Nullable StringReturns the argument separator for unqualified placeholders.@Nullable Audienceaudience()Returns the audience tied to rendering.static PlaceholderContext.Builderbuilder()Creates a builder for placeholder contexts.@Nullable StringReturns the default namespace used for unqualified placeholders.inline()Returns inline placeholder values.@Nullable ObjectownerKey()Returns the owner key for local placeholder scope.
-
Method Details
-
audience
Returns the audience tied to rendering.- Returns:
- audience or null
-
ownerKey
Returns the owner key for local placeholder scope.- Returns:
- owner key or null
-
defaultNamespace
Returns the default namespace used for unqualified placeholders.- Returns:
- namespace or null
-
argumentSeparator
Returns the argument separator for unqualified placeholders.- Returns:
- argument separator or null
-
inline
-
builder
Creates a builder for placeholder contexts.- Returns:
- builder instance
-