FreeHEP API
Version current

hep.aida.ref.xml
Class AidaStyleXMLWriter

java.lang.Object
  extended byorg.freehep.xml.util.XMLWriter
      extended byhep.aida.ref.xml.AidaStyleXMLWriter

public class AidaStyleXMLWriter
extends XMLWriter

Convert AIDA objects to XML.

Version:
$Id: AidaStyleXMLWriter.java,v 1.7 2005/07/19 22:59:02 serbo Exp $
Author:
The AIDA team @ SLAC.
Source Code:
AidaStyleXMLWriter.java

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

Constructor Detail

AidaStyleXMLWriter

public AidaStyleXMLWriter(Writer writer)
                   throws IOException
Method Detail

writeStyleToDisk

public static void writeStyleToDisk(String fileName,
                                    hep.aida.IPlotterStyle style)
                             throws IOException
Throws:
IOException

writeStyleToDisk

public static void writeStyleToDisk(String fileName,
                                    hep.aida.IPlotterStyle style,
                                    boolean writeAllParameters)
                             throws IOException
Throws:
IOException

close

public void close()
           throws IOException
Description copied from class: XMLWriter
closes the writer

Overrides:
close in class XMLWriter
Throws:
IOException

plotterStyleToXML

public void plotterStyleToXML(hep.aida.IPlotterStyle style)

plotterStyleToXML

public void plotterStyleToXML(hep.aida.IPlotterStyle style,
                              boolean writeAllParameters)

printStyle

public void printStyle(hep.aida.IBaseStyle style)

printStyle

public static void printStyle(hep.aida.IBaseStyle style,
                              boolean writeAllParameters)

main

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

FreeHEP API
Version current

Copyright © 2000-2004 FreeHEP, All Rights Reserved.