|
Search this API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objecty.util.GraphCopier.GraphDataCopyFactory
y.util.GraphCopier.DataProviderCopyFactory
y.util.GraphCopier.ItemDataProviderCopyFactory
public static class GraphCopier.ItemDataProviderCopyFactory
Helper class implementation of GraphCopier.CopyFactory that can be used to copy the contents of a
DataProvider registered with the source graph onto the target graph storing the values in newly created HashMap based DataMaps.
copy(Object,y.base.Node,y.base.Node,Object),
copy(Object,y.base.Edge,y.base.Edge,Object)
| Field Summary |
|---|
| Fields inherited from class y.util.GraphCopier.DataProviderCopyFactory |
|---|
dpKey |
| Constructor Summary | |
|---|---|
GraphCopier.ItemDataProviderCopyFactory(GraphCopier.CopyFactory delegatingFactory,
Object dpKey)
|
|
| Method Summary | |
|---|---|
protected Object |
copy(Object dpKey,
Edge src,
Edge dst,
Object value)
Callback method that performs the actual copying of the data. |
protected Object |
copy(Object dpKey,
Node src,
Node dst,
Object value)
Callback method that performs the actual copying of the data. |
protected void |
copyData(Edge src,
Edge dst)
Empty stub to be overwritten by subclass implementations. |
protected void |
copyData(Node src,
Node dst)
Empty stub to be overwritten by subclass implementations. |
protected DataMap |
createMap(Graph dst)
Factory callback to create the backing storage. |
| Methods inherited from class y.util.GraphCopier.DataProviderCopyFactory |
|---|
getMap, preCopyData |
| Methods inherited from class y.util.GraphCopier.GraphDataCopyFactory |
|---|
copyEdge, copyNode, createGraph, postCopyData, postCopyGraphData, preCopyGraphData |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GraphCopier.ItemDataProviderCopyFactory(GraphCopier.CopyFactory delegatingFactory,
Object dpKey)
| Method Detail |
|---|
protected DataMap createMap(Graph dst)
GraphCopier.DataProviderCopyFactory
createMap in class GraphCopier.DataProviderCopyFactory
protected void copyData(Node src,
Node dst)
GraphCopier.GraphDataCopyFactory
copyData in class GraphCopier.GraphDataCopyFactorysrc - the old entitydst - the new entity
protected void copyData(Edge src,
Edge dst)
GraphCopier.GraphDataCopyFactory
copyData in class GraphCopier.GraphDataCopyFactorysrc - the old entitydst - the new entity
protected Object copy(Object dpKey,
Node src,
Node dst,
Object value)
protected Object copy(Object dpKey,
Edge src,
Edge dst,
Object value)
|
© Copyright 2000-2013, yWorks GmbH. All rights reserved. |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||