| 
 | 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.xml.XMLHepRepWriter
| Field Summary | |
| static String | cvsId | 
| protected  Map | properties | 
| 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 | setBitEncoding(boolean bitEncoding) | 
|  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 layers)Writes the layerOrder. | 
|  void | write(Object object) | 
| 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 Map properties
| Method Detail | 
public void setBitEncoding(boolean bitEncoding)
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(Object object)
           throws IOException
IOException
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 layers)
HepRepWriter
write in interface HepRepWriterlayers - to be written.public void write(HepRepTypeTree typeTree)
HepRepWriter
write in interface HepRepWritertypeTree - to be written.public void write(HepRepType type)
HepRepWriter
write in interface HepRepWritertype - to be written.public void write(HepRepTreeID treeID)
HepRepWriter
write in interface HepRepWritertreeID - to be written.public void write(HepRepAction action)
HepRepWriter
write in interface HepRepWriteraction - to be written.public void write(HepRepInstanceTree instanceTree)
HepRepWriter
write in interface HepRepWriterinstanceTree - to be written.public void write(HepRepInstance instance)
HepRepWriter
write in interface HepRepWriterinstance - to be written.public void write(HepRepPoint point)
HepRepWriter
write in interface HepRepWriterpoint - to be written.public void write(HepRepAttribute attribute)
HepRepWriter
write in interface HepRepWriterattribute - to be written.public void write(HepRepDefinition definition)
HepRepWriter
write in interface HepRepWriterdefinition - to be written.public void write(HepRepAttValue attValue)
HepRepWriter
write in interface HepRepWriterattValue - to be written.public void write(HepRepAttDef attDef)
HepRepWriter
write in interface HepRepWriterattDef - to be written.| 
 | FreeHEP API Version current | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||