public class FieldTagAggregator extends TagAggregator
Constructor and Description |
---|
FieldTagAggregator(Singletons.Global g) |
Modifier and Type | Method and Description |
---|---|
String |
aggregatedName()
Return name of the resulting aggregated tag.
|
void |
considerTag(Tag t,
Unit u,
LinkedList<Tag> tags,
LinkedList<Unit> units)
Aggregate the given tag assigned to the given unit
|
protected void |
internalTransform(Body b,
String phaseName,
Map options)
This method is called to perform the transformation itself.
|
static FieldTagAggregator |
v() |
boolean |
wantTag(Tag t)
Decide whether this tag should be aggregated by this aggregator.
|
fini
transform, transform, transform
public FieldTagAggregator(Singletons.Global g)
public static FieldTagAggregator v()
protected void internalTransform(Body b, String phaseName, Map options)
BodyTransformer
internalTransform
in class TagAggregator
b
- the body on which to apply the transformationphaseName
- the phasename for this transform; not typically used by implementations.options
- the actual computed options; a combination of default options and Scene specified options.public boolean wantTag(Tag t)
wantTag
in class TagAggregator
public void considerTag(Tag t, Unit u, LinkedList<Tag> tags, LinkedList<Unit> units)
TagAggregator
considerTag
in class TagAggregator
public String aggregatedName()
TagAggregator
aggregatedName
in class TagAggregator