hep.aida.ref.plotter.style.registry
Class StyleStoreXMLWriter

java.lang.Object
  extended by org.freehep.xml.util.XMLWriter
      extended by hep.aida.ref.plotter.style.registry.StyleStoreXMLWriter

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


Constructor Summary
StyleStoreXMLWriter(java.io.Writer writer)
           
 
Method Summary
 void close()
           
static void main(java.lang.String[] args)
           
 void plotterStyleToXML(hep.aida.IPlotterStyle style)
           
 void plotterStyleToXML(hep.aida.IPlotterStyle style, boolean writeAllParameters)
           
 void storeEntryToXML(java.lang.String name, hep.aida.IPlotterStyle style, IStyleRule rule)
           
 void storeEntryToXML(java.lang.String name, java.lang.String type, hep.aida.IPlotterStyle style, IStyleRule rule)
           
 void styleRuleToXML(IStyleRule rule)
           
static void writeToFile(java.lang.String fileName, IStyleStore store)
           
static void writeToFile(java.lang.String fileName, IStyleStore store, boolean writeAllParameters)
           
 void writeXMLStyleStore(IStyleStore store)
           
 void writeXMLStyleStore(IStyleStore store, 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
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StyleStoreXMLWriter

public StyleStoreXMLWriter(java.io.Writer writer)
                    throws java.io.IOException
Throws:
java.io.IOException
Method Detail

writeToFile

public static void writeToFile(java.lang.String fileName,
                               IStyleStore store)
                        throws java.io.IOException
Throws:
java.io.IOException

writeToFile

public static void writeToFile(java.lang.String fileName,
                               IStyleStore store,
                               boolean writeAllParameters)
                        throws java.io.IOException
Throws:
java.io.IOException

close

public void close()
           throws java.io.IOException
Overrides:
close in class org.freehep.xml.util.XMLWriter
Throws:
java.io.IOException

writeXMLStyleStore

public void writeXMLStyleStore(IStyleStore store)

writeXMLStyleStore

public void writeXMLStyleStore(IStyleStore store,
                               boolean writeAllParameters)

storeEntryToXML

public void storeEntryToXML(java.lang.String name,
                            hep.aida.IPlotterStyle style,
                            IStyleRule rule)

storeEntryToXML

public void storeEntryToXML(java.lang.String name,
                            java.lang.String type,
                            hep.aida.IPlotterStyle style,
                            IStyleRule rule)

styleRuleToXML

public void styleRuleToXML(IStyleRule rule)

plotterStyleToXML

public void plotterStyleToXML(hep.aida.IPlotterStyle style)

plotterStyleToXML

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

main

public static void main(java.lang.String[] args)
                 throws java.lang.Exception
Throws:
java.lang.Exception


jHepWork 1.1 (C) Chekanov