BEAST
eu.baltrad.beast.rules.namer.MetadataNameCreator Interface Reference

Creates a specific name from the metadata. More...

Inheritance diagram for eu.baltrad.beast.rules.namer.MetadataNameCreator:
eu.baltrad.beast.rules.namer.DoubleToStringNameCreator eu.baltrad.beast.rules.namer.FormattableDateTimeNameCreator eu.baltrad.beast.rules.namer.QuantityHexNameCreator

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.
 

Detailed Description

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.

Author
Anders Henja

Member Function Documentation

◆ createName()

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.

Parameters
tagthe tag
metadatathe metadata
Returns
the tag

Implemented in eu.baltrad.beast.rules.namer.DoubleToStringNameCreator, eu.baltrad.beast.rules.namer.FormattableDateTimeNameCreator, and eu.baltrad.beast.rules.namer.QuantityHexNameCreator.

◆ supports()

boolean eu.baltrad.beast.rules.namer.MetadataNameCreator.supports ( String tag)

If this name creater supports the provided tag (${...})

Parameters
tagthe tag
Returns
if tag is supported or not

Implemented in eu.baltrad.beast.rules.namer.DoubleToStringNameCreator, eu.baltrad.beast.rules.namer.FormattableDateTimeNameCreator, and eu.baltrad.beast.rules.namer.QuantityHexNameCreator.


The documentation for this interface was generated from the following file: