BEAST
eu.baltrad.beast.rules.namer.DoubleToStringNameCreator Class Reference
Inheritance diagram for eu.baltrad.beast.rules.namer.DoubleToStringNameCreator:
eu.baltrad.beast.rules.namer.MetadataNameCreator

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.
 
String getAttributePattern ()
 
void setAttributePattern (String attributePattern)
 
String getDefaultAttribute ()
 
void setDefaultAttribute (String defaultAttribute)
 
Map< Double, String > getMapping ()
 
void setMapping (Map< Double, String > mapping)
 
Pattern getPattern ()
 
void afterPropertiesSet () throws Exception
 
String getDefaultValue ()
 
void setDefaultValue (String defaultValue)
 

Protected Member Functions

Double getAttributeValue (String name, Metadata metadata)
 

Detailed Description

Author
anders

Member Function Documentation

◆ createName()

String eu.baltrad.beast.rules.namer.DoubleToStringNameCreator.createName ( String tag,
Metadata metadata )
inline

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

Implements eu.baltrad.beast.rules.namer.MetadataNameCreator.

◆ supports()

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

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

Parameters
tagthe tag
Returns
if tag is supported or not

Implements eu.baltrad.beast.rules.namer.MetadataNameCreator.


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