| 
 | 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
public abstract static class GraphCopier.DataProviderCopyFactory
Abstract helper class that provides helper methods to copy DataProvider contents.
| Field Summary | |
|---|---|
| protected  java.lang.Object | dpKeyThe DataProvider key. | 
| Constructor Summary | |
|---|---|
| protected  | GraphCopier.DataProviderCopyFactory(GraphCopier.CopyFactory delegatingFactory,
                                    java.lang.Object dpKey)Creates a new delegating instance that copies the data for the given data provider key. | 
| Method Summary | |
|---|---|
| protected abstract  DataMap | createMap(Graph dst)Factory callback to create the backing storage. | 
| protected  DataMap | getMap(Graph graph)Helper method that retrieves the map for the given graph instance. | 
| protected  void | preCopyData(Graph src,
            Graph dst)Calls createMap(y.base.Graph)and registers that map on the
 target graph if there is noDataMapregistered on the
 target graph yet. | 
| Methods inherited from class y.util.GraphCopier.GraphDataCopyFactory | 
|---|
| copyData, copyData, copyEdge, copyNode, createGraph, postCopyData, postCopyGraphData, preCopyGraphData | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Field Detail | 
|---|
protected final java.lang.Object dpKey
| Constructor Detail | 
|---|
protected GraphCopier.DataProviderCopyFactory(GraphCopier.CopyFactory delegatingFactory,
                                              java.lang.Object dpKey)
delegatingFactory - the factory to delegate to.dpKey - the data provider key| Method Detail | 
|---|
protected void preCopyData(Graph src,
                           Graph dst)
createMap(y.base.Graph) and registers that map on the
 target graph if there is no DataMap registered on the
 target graph yet.
preCopyData in class GraphCopier.GraphDataCopyFactoryprotected abstract DataMap createMap(Graph dst)
protected DataMap getMap(Graph graph)
graph - Graph instance for which the map is retrieved
| 
 | © Copyright 2000-2025, yWorks GmbH. All rights reserved. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||