Ejemplo n.º 1
0
 /**
  * Construct a FramedGraph that will frame the elements of the underlying graph.
  *
  * @param baseGraph the graph whose elements to frame
  * @deprecated Use {@link FramedGraphFactory}.
  */
 public FramedGraph(final T baseGraph) {
   this.baseGraph = baseGraph;
   config = new FramedGraphConfiguration();
   config.setConfiguredGraph(baseGraph);
   configViaFactory = false;
   registerAnnotationHandler(new PropertyAnnotationHandler());
   registerAnnotationHandler(new AdjacencyAnnotationHandler());
   registerAnnotationHandler(new IncidenceAnnotationHandler());
   registerAnnotationHandler(new DomainAnnotationHandler());
   registerAnnotationHandler(new RangeAnnotationHandler());
   registerAnnotationHandler(new GremlinGroovyAnnotationHandler());
 }