|
FreeHEP API Version current |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object hep.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 HepRepWriter
key
- value
-
IOException
- in case of a stream problem.public void close() throws IOException
HepRepWriter
close
in interface HepRepWriter
IOException
- in case of a stream problem.public void write(HepRep heprep, String name) throws IOException
HepRepWriter
write
in interface HepRepWriter
heprep
- 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 HepRepWriter
layerOrder
- to be written.
IOException
- in case of a stream problem.public void write(HepRepTypeTree typeTree) throws IOException
HepRepWriter
write
in interface HepRepWriter
typeTree
- to be written.
IOException
- in case of a stream problem.public void write(HepRepType type) throws IOException
HepRepWriter
write
in interface HepRepWriter
type
- to be written.
IOException
- in case of a stream problem.public void write(HepRepTreeID treeID) throws IOException
HepRepWriter
write
in interface HepRepWriter
treeID
- to be written.
IOException
- in case of a stream problem.public void write(HepRepAction action) throws IOException
HepRepWriter
write
in interface HepRepWriter
action
- to be written.
IOException
- in case of a stream problem.public void write(HepRepInstanceTree instanceTree) throws IOException
HepRepWriter
write
in interface HepRepWriter
instanceTree
- to be written.
IOException
- in case of a stream problem.public void write(HepRepInstance instance) throws IOException
HepRepWriter
write
in interface HepRepWriter
instance
- to be written.
IOException
- in case of a stream problem.public void write(HepRepPoint point) throws IOException
HepRepWriter
write
in interface HepRepWriter
point
- to be written.
IOException
- in case of a stream problem.public void write(HepRepAttribute attribute) throws IOException
HepRepWriter
write
in interface HepRepWriter
attribute
- to be written.
IOException
- in case of a stream problem.public void write(HepRepDefinition definition) throws IOException
HepRepWriter
write
in interface HepRepWriter
definition
- to be written.
IOException
- in case of a stream problem.public void write(HepRepAttValue attValue) throws IOException
HepRepWriter
write
in interface HepRepWriter
attValue
- to be written.
IOException
- in case of a stream problem.public void write(HepRepAttDef attDef) throws IOException
HepRepWriter
write
in interface HepRepWriter
attDef
- 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 |