public final class TrimStringToNameIdentifierTransformer extends Transformer<java.lang.String,NameIdentifier>
Modifier and Type | Method and Description |
---|---|
static TrimStringToNameIdentifierTransformer |
getInstance()
Gets the instance of the transformer
|
NameIdentifier |
transform(java.lang.String from)
Returns an object of class <S2> that is in some sense equivalent to the given from object
|
public static TrimStringToNameIdentifierTransformer getInstance()
public NameIdentifier transform(java.lang.String from)
Transformer
transform
in class Transformer<java.lang.String,NameIdentifier>
from
- an object for which an equivalent object of another class is to be returned