hep.aida.util
Class XMLUtils

java.lang.Object
  extended by hep.aida.util.XMLUtils

public abstract class XMLUtils
extends Object


Constructor Summary
XMLUtils()
           
 
Method Summary
static void addToTree(String xmlString, ITree tree)
           
static IFitResult createFitResult(String xmlString)
           
static IManagedObject createManagedObject(String xmlString)
           
static String createXMLString(IFitResult fitResult)
           
static String createXMLString(IFitResult fitResult, String path)
           
static String createXMLString(IManagedObject mo)
           
static String createXMLString(IManagedObject mo, ITree tree)
           
static String createXMLString(IManagedObject mo, String path)
           
static void writeToFile(ITree tree, String fileName, String options)
          Write AIDA Tree to an XML file Possible options and option values: compress : zip, gzip, false binary : true, false skip : list of AIDA Type to skip when writing to file, Example: skip=\"ITuple, ICloud2D\"
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XMLUtils

public XMLUtils()
Method Detail

writeToFile

public static void writeToFile(ITree tree,
                               String fileName,
                               String options)
                        throws IOException
Write AIDA Tree to an XML file Possible options and option values: compress : zip, gzip, false binary : true, false skip : list of AIDA Type to skip when writing to file, Example: skip=\"ITuple, ICloud2D\"

Throws:
IOException

createXMLString

public static String createXMLString(IManagedObject mo)
                              throws IOException
Throws:
IOException

createXMLString

public static String createXMLString(IManagedObject mo,
                                     ITree tree)
                              throws IOException
Throws:
IOException

createXMLString

public static String createXMLString(IManagedObject mo,
                                     String path)
                              throws IOException
Throws:
IOException

createManagedObject

public static IManagedObject createManagedObject(String xmlString)
                                          throws IOException
Throws:
IOException

addToTree

public static void addToTree(String xmlString,
                             ITree tree)
                      throws IOException
Throws:
IOException

createXMLString

public static String createXMLString(IFitResult fitResult)
                              throws IOException
Throws:
IOException

createXMLString

public static String createXMLString(IFitResult fitResult,
                                     String path)
                              throws IOException
Throws:
IOException

createFitResult

public static IFitResult createFitResult(String xmlString)
                                  throws IOException
Throws:
IOException


jHepWork 3.2 © jWork.org