public abstract class Implementation extends Object
Interface defining a generic factory interface for generating enhanced nodes from normal graph nodes. Implementation classes should have a public final member variable called factory of this type.
| Constructor and Description |
|---|
Implementation() |
| Modifier and Type | Method and Description |
|---|---|
abstract boolean |
canWrap(Node node,
EnhGraph eg)
true iff wrapping (node, eg) would succeed.
|
abstract EnhNode |
wrap(Node node,
EnhGraph eg)
Create a new EnhNode wrapping a Node in the context of an EnhGraph
|
public abstract EnhNode wrap(Node node, EnhGraph eg)
node - The node to be wrappedeg - The graph containing the nodeLicenced under the Apache License, Version 2.0