scratch.scott.registry
Class UserDataRegistry

java.lang.Object
  extended by scratch.scott.registry.UserDataRegistry
Direct Known Subclasses:
EdgeRegistry, VertexRegistry

public abstract class UserDataRegistry
extends Object

Author:
Scott White

Constructor Summary
protected UserDataRegistry(Graph graph)
           
 
Method Summary
abstract  boolean allDataIsDecorated(Decorator decorator)
           
protected  void checkDecoratorType(Class type)
           
 Iterator getDecoratorIterator(Class type)
           
 RegistryDecoratorSet getDecorators(Class type)
           
 Decorator getDefaultDecorator(Class type)
           
protected  Graph getGraph()
           
 boolean hasDecoratorType(Class type)
           
 void registerDecorator(Decorator decorator)
           
 void registerDecoratorAsDefault(Decorator decorator)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UserDataRegistry

protected UserDataRegistry(Graph graph)
Method Detail

checkDecoratorType

protected void checkDecoratorType(Class type)

getGraph

protected Graph getGraph()

hasDecoratorType

public boolean hasDecoratorType(Class type)

registerDecorator

public void registerDecorator(Decorator decorator)

registerDecoratorAsDefault

public void registerDecoratorAsDefault(Decorator decorator)

getDecorators

public RegistryDecoratorSet getDecorators(Class type)

getDefaultDecorator

public Decorator getDefaultDecorator(Class type)

getDecoratorIterator

public Iterator getDecoratorIterator(Class type)

allDataIsDecorated

public abstract boolean allDataIsDecorated(Decorator decorator)