@CatalogedBy(value=PlaceholderParsers.class) public interface PlaceholderParser extends CatalogType
Modifier and Type | Interface and Description |
---|---|
static interface |
PlaceholderParser.Builder
A builder that creates
PlaceholderParser |
Modifier and Type | Method and Description |
---|---|
static PlaceholderParser.Builder |
builder()
Returns a
PlaceholderParser.Builder that allows for the creation of simple
PlaceholderParser s. |
Text |
parse(PlaceholderContext placeholderContext)
Creates a
Text based on the provided PlaceholderContext . |
getId, getName
static PlaceholderParser.Builder builder()
PlaceholderParser.Builder
that allows for the creation of simple
PlaceholderParser
s.PlaceholderParser.Builder
Text parse(PlaceholderContext placeholderContext)
Text
based on the provided PlaceholderContext
.
This method should not throw an error, instead returning
Text.EMPTY
if the supplied PlaceholderContext
is not
valid.
placeholderContext
- The PlaceholderContext
Text