public abstract class StyleFactory extends Object
Style
object from the environment.| Modifier | Constructor and Description |
|---|---|
protected |
StyleFactory(String prefix)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
abstract Parameter<?>[] |
getParameters(String stSuffix)
Returns the parameters used by this factory.
|
abstract Style |
getStyle(Environment env,
String stSuffix)
Obtains a Style object from the environment by examining parameters.
|
int |
getStyleIndex(String suffix)
Returns a zero-based index associated with a given suffix for this
factory.
|
String |
paramName(String baseName,
String stSuffix)
Assembles a parameter name from a base name and a dataset suffix.
|
protected StyleFactory(String prefix)
prefix - prefix to be prepended to all parameters used by this
factorypublic abstract Parameter<?>[] getParameters(String stSuffix)
stSuffix - label identifying the data set for which the style
will be requiredpublic abstract Style getStyle(Environment env, String stSuffix) throws TaskException
env - execution environmentstSuffix - label identifying the data set for which the style
is requiredTaskExceptionpublic String paramName(String baseName, String stSuffix)
baseName - parameter base namestSuffix - label identifying datasetpublic int getStyleIndex(String suffix)
suffix - identifierCopyright © 2025 Central Laboratory of the Research Councils. All Rights Reserved.