|
FreeHEP API Version current |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecthep.graphics.heprep.ref.DefaultHepRepWriter
Writew out java serialized IO
| Field Summary | |
static String |
cvsId
|
protected ObjectOutputStream |
out
|
protected Map |
properties
|
protected ZipOutputStream |
zip
|
| Constructor Summary | |
protected |
DefaultHepRepWriter(OutputStream out,
boolean randomAccess,
boolean compress)
|
| Method Summary | |
void |
addProperty(String key,
String value)
Adds a property, to be written to the HepRep file when closed. |
void |
close()
Closes the writer and its underlying stream. |
void |
write(HepRepAction action)
Writes a HepRepAction. |
void |
write(HepRepAttDef attDef)
Writes a HepRepAttDef. |
void |
write(HepRepAttribute attribute)
Writes a HepRepAttribute. |
void |
write(HepRepAttValue attValue)
Writes a HepRepAttValue. |
void |
write(HepRepDefinition definition)
Writes a HepRepDefinition. |
void |
write(HepRepInstance instance)
Writes a HepRepInstance. |
void |
write(HepRepInstanceTree instanceTree)
Writes a HepRepInstanceTree. |
void |
write(HepRepPoint point)
Writes a HepRepPoint. |
void |
write(HepRep heprep,
String name)
Writes a HepRep. |
void |
write(HepRepTreeID treeID)
Writes a HepRepTreeID. |
void |
write(HepRepType type)
Writes a HepRepType. |
void |
write(HepRepTypeTree typeTree)
Writes a HepRepTypeTree. |
void |
write(List layerOrder)
Writes the layerOrder. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final String cvsId
protected ObjectOutputStream out
protected ZipOutputStream zip
protected Map properties
| Constructor Detail |
protected DefaultHepRepWriter(OutputStream out,
boolean randomAccess,
boolean compress)
throws IOException
| Method Detail |
public void addProperty(String key,
String value)
throws IOException
HepRepWriter
addProperty in interface HepRepWriterkey - value -
IOException - in case of a stream problem.
public void close()
throws IOException
HepRepWriter
close in interface HepRepWriterIOException - in case of a stream problem.
public void write(HepRep heprep,
String name)
throws IOException
HepRepWriter
write in interface HepRepWriterheprep - to be written.name - for the heprep to be written (for tagged access), may be ommited.
IOException - in case of a stream problem.
public void write(List layerOrder)
throws IOException
HepRepWriter
write in interface HepRepWriterlayerOrder - to be written.
IOException - in case of a stream problem.
public void write(HepRepTypeTree typeTree)
throws IOException
HepRepWriter
write in interface HepRepWritertypeTree - to be written.
IOException - in case of a stream problem.
public void write(HepRepType type)
throws IOException
HepRepWriter
write in interface HepRepWritertype - to be written.
IOException - in case of a stream problem.
public void write(HepRepTreeID treeID)
throws IOException
HepRepWriter
write in interface HepRepWritertreeID - to be written.
IOException - in case of a stream problem.
public void write(HepRepAction action)
throws IOException
HepRepWriter
write in interface HepRepWriteraction - to be written.
IOException - in case of a stream problem.
public void write(HepRepInstanceTree instanceTree)
throws IOException
HepRepWriter
write in interface HepRepWriterinstanceTree - to be written.
IOException - in case of a stream problem.
public void write(HepRepInstance instance)
throws IOException
HepRepWriter
write in interface HepRepWriterinstance - to be written.
IOException - in case of a stream problem.
public void write(HepRepPoint point)
throws IOException
HepRepWriter
write in interface HepRepWriterpoint - to be written.
IOException - in case of a stream problem.
public void write(HepRepAttribute attribute)
throws IOException
HepRepWriter
write in interface HepRepWriterattribute - to be written.
IOException - in case of a stream problem.
public void write(HepRepDefinition definition)
throws IOException
HepRepWriter
write in interface HepRepWriterdefinition - to be written.
IOException - in case of a stream problem.
public void write(HepRepAttValue attValue)
throws IOException
HepRepWriter
write in interface HepRepWriterattValue - to be written.
IOException - in case of a stream problem.
public void write(HepRepAttDef attDef)
throws IOException
HepRepWriter
write in interface HepRepWriterattDef - to be written.
IOException - in case of a stream problem.
|
FreeHEP API Version current |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||