FreeHEP API
Version v1.2.2

hep.graphics.heprep.xml
Class XMLHepRepFactory

java.lang.Object
  |
  +--hep.graphics.heprep.HepRepFactory
        |
        +--hep.graphics.heprep.ref.DefaultHepRepFactory
              |
              +--hep.graphics.heprep.xml.XMLHepRepFactory

public class XMLHepRepFactory
extends DefaultHepRepFactory

Version:
$Id: XMLHepRepFactory.java,v 1.1 2003/06/28 20:45:40 duns Exp $
Author:
Mark Donszelmann

Field Summary
static String cvsId
           
 
Fields inherited from class hep.graphics.heprep.HepRepFactory
defaultFactoryName, factoryName, propertyFile
 
Constructor Summary
XMLHepRepFactory()
           
 
Method Summary
 HepRepReader createHepRepReader(InputStream in)
          Creates a HepRepReader from a stream.
 HepRepReader createHepRepReader(String inputFileName)
          Creates a HepRepReader from a file name.
 HepRepWriter createHepRepWriter(OutputStream out, boolean randomAccess, boolean compress)
          Creates a HepRepWriter.
 
Methods inherited from class hep.graphics.heprep.ref.DefaultHepRepFactory
createHepRep, createHepRepAction, createHepRepInstance, createHepRepInstance, createHepRepInstanceTree, createHepRepPoint, createHepRepTreeID, createHepRepType, createHepRepTypeTree
 
Methods inherited from class hep.graphics.heprep.HepRepFactory
create, createHepRepTreeID
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

cvsId

public static final String cvsId
See Also:
Constant Field Values
Constructor Detail

XMLHepRepFactory

public XMLHepRepFactory()
Method Detail

createHepRepReader

public HepRepReader createHepRepReader(InputStream in)
                                throws IOException
Description copied from class: HepRepFactory
Creates a HepRepReader from a stream.

Overrides:
createHepRepReader in class DefaultHepRepFactory
Parameters:
in - input stream.
Throws:
IOException - in case of problems with the stream.

createHepRepReader

public HepRepReader createHepRepReader(String inputFileName)
                                throws IOException
Description copied from class: HepRepFactory
Creates a HepRepReader from a file name.

Overrides:
createHepRepReader in class DefaultHepRepFactory
Parameters:
inputFileName - file name.
Throws:
IOException - in case of problems with the stream.

createHepRepWriter

public HepRepWriter createHepRepWriter(OutputStream out,
                                       boolean randomAccess,
                                       boolean compress)
                                throws IOException
Description copied from class: HepRepFactory
Creates a HepRepWriter.

Overrides:
createHepRepWriter in class DefaultHepRepFactory
Parameters:
out - output stream.
randomAccess - create a writer in a format that will allow random access (may be ignored).
compress - create a writer that uses compression (may be ignored).
Throws:
IOException - in case of problems with the stream.

FreeHEP API
Version v1.2.2

Copyright © 2000-2003 FreeHEP, All Rights Reserved.