public class NamespaceURITransformer extends Object implements FieldTransformer
BUILD_FIELD_VALUE_METHOD| Constructor and Description |
|---|
NamespaceURITransformer() |
| Modifier and Type | Method and Description |
|---|---|
Object |
buildFieldValue(Object instance,
String fieldName,
Session session) |
void |
initialize(AbstractTransformationMapping mapping)
Initialize this transformer.
|
public void initialize(AbstractTransformationMapping mapping)
FieldTransformerinitialize in interface FieldTransformermapping - - the mapping this transformer is associated with.public Object buildFieldValue(Object instance, String fieldName, Session session)
buildFieldValue in interface CoreFieldTransformer<Session>buildFieldValue in interface FieldTransformerinstance - - an instance of the domain class which contains the attributefieldName - - the name of the field being transformed. Used if the user wants to use this transformer for multiple fields.session - - the current sessionCopyright © 2007–2021 Eclipse.org - EclipseLink Project. All rights reserved.