public interface GraphTransformer
GraphContext is used. If no GraphContext is passed, an appropriate one gets created automatically.
A GraphContext can be created manually with createGraphContext(). Such context can be used to
customize transformation behavior for exactly one transformation process. After that context can still be used to
fetch some statistic values but not for a second transformation process again.| Modifier and Type | Method and Description |
|---|---|
GraphContext |
createGraphContext()
Creates a
GraphContext. |
void |
setNodeValueCreatedListener(NodeValueCreatedListener listener) |
<T> T |
transform(GraphContext ctx,
java.lang.Object source)
Calls
transform(GraphContext, Object, Object) without a specific target. |
<T> T |
transform(GraphContext ctx,
java.lang.Object source,
T target)
Transforms a source object into a target one.
|
<T> T |
transform(java.lang.Object source)
Calls
transform(GraphContext, Object, Object) with no specific context and no given target. |
<T> T |
transform(java.lang.Object source,
T target)
Calls
transform(GraphContext, Object, Object) with no specific context. |
<T> T transform(java.lang.Object source)
transform(GraphContext, Object, Object) with no specific context and no given target.T - source - source graph<T> T transform(java.lang.Object source,
T target)
transform(GraphContext, Object, Object) with no specific context.T - source - source graphtarget - target graph or null<T> T transform(GraphContext ctx, java.lang.Object source)
transform(GraphContext, Object, Object) without a specific target.T - ctx - GraphContextsource - source graph<T> T transform(GraphContext ctx, java.lang.Object source, T target)
T - source - source graphtarget - target graph or nullGraphContext createGraphContext()
GraphContext. Such context can be used to customize transformation behavior or fetch some
statistics after transformation.GraphContext.void setNodeValueCreatedListener(NodeValueCreatedListener listener)
Copyright © 2018 SAP SE. All Rights Reserved.