public class CopyAttributeTransformer extends SourceTargetAttributeTransformer
| Constructor and Description |
|---|
CopyAttributeTransformer() |
| Modifier and Type | Method and Description |
|---|---|
SourceElement |
transform(Object rootObject,
ControllerState controllerState)
Fills the target attribute according to the settings.
|
getSourceAttributeName, getTargetAttributeName, isOverwrite, setOverwrite, setSourceAttributeName, setTargetAttributeNamepublic SourceElement transform(Object rootObject, ControllerState controllerState) throws SourceTransformerException
transform in interface SourceTransformertransform in class SourceTargetAttributeTransformerrootObject - the root of the source graph, not null.controllerState - the controller state.SourceTransformerException - if rootObject is not a SourceElement.IllegalStateException - if sourceAttributeName or
targetAttributeName was not set.SourceTransformer.transform(Object, ControllerState)Copyright © 2000–2020 The Apache Software Foundation. All rights reserved.