User Tools

Site Tools


01_user_documentation:06_graph:04_visitor:02_instantiation

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
01_user_documentation:06_graph:04_visitor:02_instantiation [2025/09/05 13:18] gaetan01_user_documentation:06_graph:04_visitor:02_instantiation [2025/09/05 14:54] (current) gaetan
Line 6: Line 6:
  
 Instantiations are not connected to the [[:01_user_documentation:06_graph|data graph]]. Thus, they are not included in queries. Instantiations are not connected to the [[:01_user_documentation:06_graph|data graph]]. Thus, they are not included in queries.
 +
 +======  ======
 +
 +Visitors are testing Node for instantiation by checking if they can provide an [[https://javadoc.grogra.de/graph/de/grogra/graph/Instantiator.html|instantiator]]. The method used is:
 +<code java>
 +public de.grogra.graph.Instantiator getInstantiator(){
 +   // return the instantiator.
 +}
 +</code>
 +
 +The only requirement for the instantiator object is to implements the interface Instantiator and the method:  ''boolean instantiate (ArrayPath path, Visitor v);''.
 +
01_user_documentation/06_graph/04_visitor/02_instantiation.1757071097.txt.gz · Last modified: 2025/09/05 13:18 by gaetan