hep.aida.ref.plotter.style.registry
Class StyleStoreXMLWriter
- java.lang.Object
-
- org.freehep.xml.util.XMLWriter
-
- hep.aida.ref.plotter.style.registry.StyleStoreXMLWriter
-
- All Implemented Interfaces:
- org.freehep.xml.util.XMLTagWriter
public class StyleStoreXMLWriter extends org.freehep.xml.util.XMLWriter
-
-
Constructor Summary
Constructors Constructor and Description StyleStoreXMLWriter(java.io.Writer writer)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method and Description voidclose()static voidmain(java.lang.String[] args)voidplotterStyleToXML(IPlotterStyle style)voidplotterStyleToXML(IPlotterStyle style, boolean writeAllParameters)voidstoreEntryToXML(java.lang.String name, IPlotterStyle style, IStyleRule rule)voidstoreEntryToXML(java.lang.String name, java.lang.String type, IPlotterStyle style, IStyleRule rule)voidstyleRuleToXML(IStyleRule rule)static voidwriteToFile(java.lang.String fileName, IStyleStore store)static voidwriteToFile(java.lang.String fileName, IStyleStore store, boolean writeAllParameters)voidwriteXMLStyleStore(IStyleStore store)voidwriteXMLStyleStore(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, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute
-
-
-
-
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- Specified by:
closein interfaceorg.freehep.xml.util.XMLTagWriter- Overrides:
closein classorg.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, IPlotterStyle style, IStyleRule rule)
-
storeEntryToXML
public void storeEntryToXML(java.lang.String name, java.lang.String type, IPlotterStyle style, IStyleRule rule)
-
styleRuleToXML
public void styleRuleToXML(IStyleRule rule)
-
plotterStyleToXML
public void plotterStyleToXML(IPlotterStyle style)
-
plotterStyleToXML
public void plotterStyleToXML(IPlotterStyle style, boolean writeAllParameters)
-
main
public static void main(java.lang.String[] args) throws java.lang.Exception- Throws:
java.lang.Exception
-
-
DMelt 3.0 © DataMelt by jWork.ORG