FreeHEP API
Version current

hep.aida.ref.xml
Class AidaStyleXMLReader

java.lang.Object
  extended byhep.aida.ref.xml.AidaStyleXMLReader

public class AidaStyleXMLReader
extends Object

Restore IPlotterStyle from XML

Author:
The AIDA team @ SLAC.
Source Code:
AidaStyleXMLReader.java

Constructor Summary
AidaStyleXMLReader(Reader reader)
          Creates a new instance of AidaStyleXMLReader
 
Method Summary
 hep.aida.IPlotterStyle createStyle()
           
static void main(String[] args)
           
static hep.aida.IPlotterStyle restoreStyleFromFile(String fileName)
           
 void setStyle(hep.aida.IPlotterStyle style)
           
static void setStyleFromFile(hep.aida.IPlotterStyle style, String fileName)
           
static void setStyleFromFile(hep.aida.IPlotterStyle style, URL fileURL)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AidaStyleXMLReader

public AidaStyleXMLReader(Reader reader)
                   throws IOException,
                          org.jdom.JDOMException
Creates a new instance of AidaStyleXMLReader

Method Detail

restoreStyleFromFile

public static hep.aida.IPlotterStyle restoreStyleFromFile(String fileName)
                                                   throws IOException,
                                                          org.jdom.JDOMException
Throws:
IOException
org.jdom.JDOMException

setStyleFromFile

public static void setStyleFromFile(hep.aida.IPlotterStyle style,
                                    String fileName)
                             throws IOException,
                                    org.jdom.JDOMException
Throws:
IOException
org.jdom.JDOMException

setStyleFromFile

public static void setStyleFromFile(hep.aida.IPlotterStyle style,
                                    URL fileURL)
                             throws IOException,
                                    org.jdom.JDOMException
Throws:
IOException
org.jdom.JDOMException

createStyle

public hep.aida.IPlotterStyle createStyle()

setStyle

public void setStyle(hep.aida.IPlotterStyle style)

main

public static void main(String[] args)
                 throws IOException,
                        org.jdom.JDOMException
Throws:
IOException
org.jdom.JDOMException

FreeHEP API
Version current

Copyright © 2000-2004 FreeHEP, All Rights Reserved.