Class NameTransformer.NopTransformer
- java.lang.Object
-
- com.fasterxml.jackson.databind.util.NameTransformer
-
- com.fasterxml.jackson.databind.util.NameTransformer.NopTransformer
-
- All Implemented Interfaces:
Serializable
- Enclosing class:
- NameTransformer
protected static final class NameTransformer.NopTransformer extends NameTransformer implements Serializable
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.fasterxml.jackson.databind.util.NameTransformer
NameTransformer.Chained, NameTransformer.NopTransformer
-
-
Field Summary
-
Fields inherited from class com.fasterxml.jackson.databind.util.NameTransformer
NOP
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedNopTransformer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringreverse(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.Stringtransform(String name)Method called when (forward) transformation is needed.-
Methods inherited from class com.fasterxml.jackson.databind.util.NameTransformer
chainedTransformer, simpleTransformer
-
-
-
-
Method Detail
-
transform
public String transform(String name)
Description copied from class:NameTransformerMethod called when (forward) transformation is needed.- Specified by:
transformin classNameTransformer
-
reverse
public String reverse(String transformed)
Description copied from class:NameTransformerMethod 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:
reversein classNameTransformer
-
-