public class InLineTransformerExtension extends Object implements CustomTagExtension<InLineTransformerExtension.TransformTag>
Modifier and Type | Class and Description |
---|---|
static class |
InLineTransformerExtension.TransformTag
A custom Action for the 'transform' tag inside models
|
Constructor and Description |
---|
InLineTransformerExtension(Map<String,DataTransformer> transformers)
Constructor
|
Modifier and Type | Method and Description |
---|---|
Class<InLineTransformerExtension.TransformTag> |
getTagActionClass()
Returns a class object representing the Action class handled by this class' pipelinePossibleStates logic
|
String |
getTagName()
Returns the name of this custom tag, as would be used in the model
|
String |
getTagNameSpace()
Returns the name space of this custom tag, as would be used in the model
|
List<Map<String,String>> |
pipelinePossibleStates(InLineTransformerExtension.TransformTag action,
List<Map<String,String>> possibleStateList)
Applies a stated DataTransformer (given by name in a TransformTag Action) against every possible state
|
public InLineTransformerExtension(Map<String,DataTransformer> transformers)
transformers
- a map of DataTransformers from their names in the modelpublic Class<InLineTransformerExtension.TransformTag> getTagActionClass()
CustomTagExtension
getTagActionClass
in interface CustomTagExtension<InLineTransformerExtension.TransformTag>
public String getTagName()
CustomTagExtension
getTagName
in interface CustomTagExtension<InLineTransformerExtension.TransformTag>
public String getTagNameSpace()
CustomTagExtension
getTagNameSpace
in interface CustomTagExtension<InLineTransformerExtension.TransformTag>
public List<Map<String,String>> pipelinePossibleStates(InLineTransformerExtension.TransformTag action, List<Map<String,String>> possibleStateList)
pipelinePossibleStates
in interface CustomTagExtension<InLineTransformerExtension.TransformTag>
action
- a TransformTag ActionpossibleStateList
- a current list of possible states produced so far from expanding a model stateCopyright © 2016. All rights reserved.