FreeHEP API
Version current

hep.io.root.core
Class DefaultClassFactory

java.lang.Object
  extended byhep.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.5 2005/08/10 00:56:30 tonyj Exp $
Author:
Tony Johnson (tonyj@slac.stanford.edu)
Source Code:
DefaultClassFactory.java

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
Throws:
RootClassNotFound

FreeHEP API
Version current

Copyright © 2000-2004 FreeHEP, All Rights Reserved.