@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
PlaceholderParsers. |
Text |
parse(PlaceholderContext placeholderContext)
Creates a
Text based on the provided PlaceholderContext. |
getId, getNamestatic PlaceholderParser.Builder builder()
PlaceholderParser.Builder that allows for the creation of simple
PlaceholderParsers.PlaceholderParser.BuilderText 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 PlaceholderContextText