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

java.lang.Object
  extended by hep.aida.ref.plotter.style.registry.StyleStoreXMLReader

public class StyleStoreXMLReader
extends java.lang.Object


Constructor Summary
StyleStoreXMLReader(java.io.Reader reader)
           
 
Method Summary
static IStyleStore restoreFromDB(java.lang.String url, java.lang.String user, java.lang.String pass, java.lang.String table, java.lang.String column)
           
static IStyleStore restoreFromFile(java.lang.String fileName)
           
static IStyleStore restoreFromStream(java.io.InputStream stream)
           
 void setStyle(hep.aida.IPlotterStyle style)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StyleStoreXMLReader

public StyleStoreXMLReader(java.io.Reader reader)
                    throws java.io.IOException,
                           JDOMException
Throws:
java.io.IOException
JDOMException
Method Detail

restoreFromFile

public static IStyleStore restoreFromFile(java.lang.String fileName)
                                   throws java.io.IOException,
                                          JDOMException
Throws:
java.io.IOException
JDOMException

restoreFromDB

public static IStyleStore restoreFromDB(java.lang.String url,
                                        java.lang.String user,
                                        java.lang.String pass,
                                        java.lang.String table,
                                        java.lang.String column)
                                 throws java.lang.Exception
Throws:
java.lang.Exception

restoreFromStream

public static IStyleStore restoreFromStream(java.io.InputStream stream)
                                     throws java.io.IOException,
                                            JDOMException
Throws:
java.io.IOException
JDOMException

setStyle

public void setStyle(hep.aida.IPlotterStyle style)


jHepWork 1.1 (C) Chekanov