FreeHEP API
Version current

hep.graphics.heprep.xml
Class XMLHepRepReader

java.lang.Object
  extended byhep.graphics.heprep.ref.AbstractHepRepReader
      extended byhep.graphics.heprep.xml.XMLHepRepReader
All Implemented Interfaces:
HepRepReader

public class XMLHepRepReader
extends AbstractHepRepReader

Version:
$Id: XMLHepRepReader.java,v 1.34 2005/02/27 22:58:50 duns Exp $
Author:
M.Donszelmann
Source Code:
XMLHepRepReader.java

Field Summary
static String cvsId
           
 
Fields inherited from class hep.graphics.heprep.ref.AbstractHepRepReader
input, name, zipFile
 
Method Summary
 void close()
          Closes the reader and its underlying stream.
 boolean hasNext()
          Is there a next heprep.
 HepRep next()
          Reads the next HepRep from the Reader.
static void readDefaults()
           
protected  HepRep readHepRep(InputStream stream)
           
 void reset()
          Resets a sequential HepRep reader.
 
Methods inherited from class hep.graphics.heprep.ref.AbstractHepRepReader
entryName, entryNames, getProperty, hasRandomAccess, hasSequentialAccess, read, size, skip
 
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
Method Detail

close

public void close()
           throws IOException
Description copied from interface: HepRepReader
Closes the reader and its underlying stream.

Specified by:
close in interface HepRepReader
Overrides:
close in class AbstractHepRepReader
Throws:
IOException

reset

public void reset()
           throws IOException,
                  UnsupportedOperationException
Description copied from interface: HepRepReader
Resets a sequential HepRep reader.

Specified by:
reset in interface HepRepReader
Overrides:
reset in class AbstractHepRepReader
Throws:
IOException
UnsupportedOperationException

hasNext

public boolean hasNext()
                throws IOException,
                       UnsupportedOperationException
Description copied from interface: HepRepReader
Is there a next heprep.

Specified by:
hasNext in interface HepRepReader
Overrides:
hasNext in class AbstractHepRepReader
Throws:
IOException
UnsupportedOperationException

next

public HepRep next()
            throws IOException,
                   UnsupportedOperationException,
                   NoSuchElementException
Description copied from interface: HepRepReader
Reads the next HepRep from the Reader.

Specified by:
next in interface HepRepReader
Overrides:
next in class AbstractHepRepReader
Throws:
IOException
UnsupportedOperationException
NoSuchElementException

readHepRep

protected HepRep readHepRep(InputStream stream)
                     throws IOException
Specified by:
readHepRep in class AbstractHepRepReader
Throws:
IOException

readDefaults

public static void readDefaults()
                         throws IOException
Throws:
IOException

FreeHEP API
Version current

Copyright © 2000-2004 FreeHEP, All Rights Reserved.