FreeHEP API
Version v1.2.2

hep.io.root.core
Class DefaultClassFactory

java.lang.Object
  |
  +--hep.io.root.core.DefaultClassFactory
All Implemented Interfaces:
RootClassFactory

public class DefaultClassFactory
extends Object
implements RootClassFactory

The root class factory is used to create instances of RootClass object.

Version:
$Id: DefaultClassFactory.java,v 1.4 2003/05/23 20:59:14 duns Exp $
Author:
Tony Johnson (tonyj@slac.stanford.edu)

Constructor Summary
DefaultClassFactory(RootFileReader rfr)
          Creates a Root Class factory that looks in hep.io.root.interfaces for classes and uses the default properties files for looking for StreamerInfo and typedefs
 
Method Summary
 BasicRootClass create(String name)
          Creates an instance of a RootClass object, by searching for an appropriate class definition.
 RootClassLoader getLoader()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultClassFactory

public DefaultClassFactory(RootFileReader rfr)
Creates a Root Class factory that looks in hep.io.root.interfaces for classes and uses the default properties files for looking for StreamerInfo and typedefs

Method Detail

getLoader

public RootClassLoader getLoader()
Specified by:
getLoader in interface RootClassFactory

create

public BasicRootClass create(String name)
                      throws RootClassNotFound
Creates an instance of a RootClass object, by searching for an appropriate class definition.

Specified by:
create in interface RootClassFactory
RootClassNotFound

FreeHEP API
Version v1.2.2

Copyright © 2000-2003 FreeHEP, All Rights Reserved.