public static class NameTransformer.Chained extends NameTransformer implements Serializable
NameTransformer.Chained, NameTransformer.NopTransformer
Modifier and Type | Field and Description |
---|---|
protected NameTransformer |
_t1 |
protected NameTransformer |
_t2 |
NOP
Constructor and Description |
---|
Chained(NameTransformer t1,
NameTransformer t2) |
Modifier and Type | Method and Description |
---|---|
String |
reverse(String transformed)
Method called when reversal of transformation is needed; should return
null if this is not possible, that is, given name cannot have been
result of calling
NameTransformer.transform(java.lang.String) of this object. |
String |
toString() |
String |
transform(String name)
Method called when (forward) transformation is needed.
|
chainedTransformer, simpleTransformer
protected final NameTransformer _t1
protected final NameTransformer _t2
public Chained(NameTransformer t1, NameTransformer t2)
public String transform(String name)
NameTransformer
transform
in class NameTransformer
public String reverse(String transformed)
NameTransformer
NameTransformer.transform(java.lang.String)
of this object.reverse
in class NameTransformer
Copyright © 2019 JBoss by Red Hat. All rights reserved.