source: trunk/src/ws/fugue88/jpath/GraphCreator.java

Last change on this file was 6, checked in by dsowen, 21 years ago

Split out the access stuff into accesslib.
New Creator interface off-loads object creation to user.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 636 bytes
Line 
1/*
2 * Created on Sep 20, 2005
3 *
4 * $Log$
5 * Revision 1.1  2005/09/21 22:00:45  dsowen
6 * Split out the access stuff into accesslib.
7 * New Creator interface off-loads object creation to user.
8 *
9 */
10package ws.fugue88.jpath;
11
12import java.lang.reflect.InvocationTargetException;
13
14/**
15 * @author dsowen
16 */
17public interface GraphCreator {
18
19        public Object create(final Class type, final Object root,
20                        final PathPart part) throws IllegalAccessException,
21                        InstantiationException, InvocationTargetException;
22
23        public static final GraphCreator NULL = new NullCreator();
24        public static final GraphCreator DEFAULT = new DefaultCreator();
25}
Note: See TracBrowser for help on using the repository browser.