com.vinculumtech.carrierwave.image
Class ImageGraphFactory

java.lang.Object
  extended bycom.vinculumtech.carrierwave.image.ImageGraphFactory

public final class ImageGraphFactory
extends java.lang.Object

The ImageGraphFactory class is responsible for instantiating a graph plan into an image graph.

Version:
$Id: //depot/carrierwave/src/shared/com/vinculumtech/carrierwave/image/ImageGraphFactory.java#9 $

Method Summary
protected static Image getImageFor(GraphNode graphNode)
           
protected static void handleChildren(Image parentImage, GraphNode graphNode)
           
static Image instantiateImageGraphFrom(GraphNode originNode)
          Returns an image graph as defined by the given graph node tree.
static Image instantiateImageGraphFrom(GraphPlan graphPlan, java.lang.String imageType)
          Returns an image graph as defined by the given GraphPlan instance.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

instantiateImageGraphFrom

public static final Image instantiateImageGraphFrom(GraphPlan graphPlan,
                                                    java.lang.String imageType)
                                             throws GraphException
Returns an image graph as defined by the given GraphPlan instance. If the GraphPlan instance has no origin node, and graph node tree will be created using its meta-data and the given imageType as the root.

Parameters:
graphPlan -
imageType -
Returns:
Throws:
GraphException

instantiateImageGraphFrom

public static final Image instantiateImageGraphFrom(GraphNode originNode)
                                             throws GraphException
Returns an image graph as defined by the given graph node tree.

Parameters:
originNode -
Returns:
Throws:
GraphException

handleChildren

protected static final void handleChildren(Image parentImage,
                                           GraphNode graphNode)
                                    throws GraphException,
                                           EdgeNotFoundException
Throws:
GraphException
EdgeNotFoundException

getImageFor

protected static Image getImageFor(GraphNode graphNode)


Copyright (C) 2002 Vinculum Technologies, Inc. All Rights Reserved.