Class NameTransformer.Chained
- java.lang.Object
-
- com.fasterxml.jackson.databind.util.NameTransformer
-
- com.fasterxml.jackson.databind.util.NameTransformer.Chained
-
- All Implemented Interfaces:
java.io.Serializable
- Enclosing class:
- NameTransformer
public static class NameTransformer.Chained extends NameTransformer implements java.io.Serializable
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.fasterxml.jackson.databind.util.NameTransformer
NameTransformer.Chained
-
-
Field Summary
-
Fields inherited from class com.fasterxml.jackson.databind.util.NameTransformer
NOP
-
-
Constructor Summary
Constructors Constructor Description Chained(NameTransformer t1, NameTransformer t2)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
reverse(java.lang.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 callingNameTransformer.transform(java.lang.String)
of this object.java.lang.String
toString()
java.lang.String
transform(java.lang.String name)
Method called when (forward) transformation is needed.-
Methods inherited from class com.fasterxml.jackson.databind.util.NameTransformer
chainedTransformer, simpleTransformer
-
-
-
-
Constructor Detail
-
Chained
public Chained(NameTransformer t1, NameTransformer t2)
-
-
Method Detail
-
transform
public java.lang.String transform(java.lang.String name)
Description copied from class:NameTransformer
Method called when (forward) transformation is needed.- Specified by:
transform
in classNameTransformer
-
reverse
public java.lang.String reverse(java.lang.String transformed)
Description copied from class:NameTransformer
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 callingNameTransformer.transform(java.lang.String)
of this object.- Specified by:
reverse
in classNameTransformer
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-