| java.lang.Object com.hp.hpl.jena.enhanced.Implementation
Implementation | abstract public class Implementation (Code) | |
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.
author: Jeremy Carroll (original code)
author: Chris Dollin (original code)
author: Ian Dickinson (refactoring and commentage) |
canWrap | abstract public boolean canWrap(Node node, EnhGraph eg)(Code) | | true iff wrapping (node, eg) would succeed.
Parameters: node - the node to test for suitability Parameters: eg - the enhanced graph the node appears in true iff the node can represent our type in that graph |
wrap | abstract public EnhNode wrap(Node node, EnhGraph eg)(Code) | | Create a new EnhNode wrapping a Node in the context of an EnhGraph
Parameters: node - The node to be wrapped Parameters: eg - The graph containing the node A new enhanced node which wraps node but presents the interface(s)that this factory encapsulates. |
|
|