|
BEAST
|
Creates a specific name from the metadata. More...
Public Member Functions | |
| boolean | supports (String tag) |
| If this name creater supports the provided tag (${...}) | |
| String | createName (String tag, Metadata metadata) |
| Creates a name that should replace the provided tag. | |
Creates a specific name from the metadata.
It is not a template namer or anything, it is just for creating a very specific name from the metadata.
| String eu.baltrad.beast.rules.namer.MetadataNameCreator.createName | ( | String | tag, |
| Metadata | metadata ) |
Creates a name that should replace the provided tag.
In some circumstances the tag can contain additional information that needs to be handled.
| tag | the tag |
| metadata | the metadata |
Implemented in eu.baltrad.beast.rules.namer.DoubleToStringNameCreator, eu.baltrad.beast.rules.namer.FormattableDateTimeNameCreator, and eu.baltrad.beast.rules.namer.QuantityHexNameCreator.
| boolean eu.baltrad.beast.rules.namer.MetadataNameCreator.supports | ( | String | tag | ) |
If this name creater supports the provided tag (${...})
| tag | the tag |
Implemented in eu.baltrad.beast.rules.namer.DoubleToStringNameCreator, eu.baltrad.beast.rules.namer.FormattableDateTimeNameCreator, and eu.baltrad.beast.rules.namer.QuantityHexNameCreator.