public class ElementFactoryImpl extends Object implements ElementDraft.Factory
| Constructor and Description |
|---|
ElementFactoryImpl(ImportContainerImpl container) |
| Modifier and Type | Method and Description |
|---|---|
EdgeDraftImpl |
newEdgeDraft()
Returns an empty edge draft instance.
|
EdgeDraftImpl |
newEdgeDraft(String id)
Returns an empty edge draft instance.
|
NodeDraftImpl |
newNodeDraft()
Returns an empty node draft instance.
|
NodeDraftImpl |
newNodeDraft(String id)
Returns an empty node draft instance.
|
public ElementFactoryImpl(ImportContainerImpl container)
public NodeDraftImpl newNodeDraft()
ElementDraft.FactorynewNodeDraft in interface ElementDraft.FactoryNodeDraftpublic NodeDraftImpl newNodeDraft(String id)
ElementDraft.FactorynewNodeDraft in interface ElementDraft.Factoryid - node idNodeDraftpublic EdgeDraftImpl newEdgeDraft()
ElementDraft.FactorynewEdgeDraft in interface ElementDraft.FactoryEdgeDraftpublic EdgeDraftImpl newEdgeDraft(String id)
ElementDraft.FactorynewEdgeDraft in interface ElementDraft.Factoryid - edge idEdgeDraftCopyright © 2007–2017. All rights reserved.