hep.aida.ref.xml
Class AidaStyleXMLWriter

java.lang.Object
  extended by org.freehep.xml.util.XMLWriter
      extended by hep.aida.ref.xml.AidaStyleXMLWriter
All Implemented Interfaces:
org.freehep.xml.util.XMLTagWriter

public class AidaStyleXMLWriter
extends org.freehep.xml.util.XMLWriter

Convert AIDA objects to XML.


Constructor Summary
AidaStyleXMLWriter(Writer writer)
           
 
Method Summary
 void close()
           
static void main(String[] args)
           
 void plotterStyleToXML(IPlotterStyle style)
           
 void plotterStyleToXML(IPlotterStyle style, boolean writeAllParameters)
           
 void printStyle(IBaseStyle style)
           
static void printStyle(IBaseStyle style, boolean writeAllParameters)
           
static void writeToFile(String fileName, IPlotterStyle style)
           
static void writeToFile(String fileName, IPlotterStyle style, boolean writeAllParameters)
           
 
Methods inherited from class org.freehep.xml.util.XMLWriter
closeDoc, closeTag, normalize, normalizeText, openDoc, openDoc, openTag, openTag, print, print, printComment, println, printTag, printTag, referToDTD, referToDTD, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AidaStyleXMLWriter

public AidaStyleXMLWriter(Writer writer)
                   throws IOException
Throws:
IOException
Method Detail

writeToFile

public static void writeToFile(String fileName,
                               IPlotterStyle style)
                        throws IOException
Throws:
IOException

writeToFile

public static void writeToFile(String fileName,
                               IPlotterStyle style,
                               boolean writeAllParameters)
                        throws IOException
Throws:
IOException

close

public void close()
           throws IOException
Specified by:
close in interface org.freehep.xml.util.XMLTagWriter
Overrides:
close in class org.freehep.xml.util.XMLWriter
Throws:
IOException

plotterStyleToXML

public void plotterStyleToXML(IPlotterStyle style)

plotterStyleToXML

public void plotterStyleToXML(IPlotterStyle style,
                              boolean writeAllParameters)

printStyle

public void printStyle(IBaseStyle style)

printStyle

public static void printStyle(IBaseStyle style,
                              boolean writeAllParameters)

main

public static void main(String[] args)
                 throws IOException
Throws:
IOException


jHepWork 3.2 © jWork.org