Class DescriptionToXmlParser
- java.lang.Object
-
- edu.kit.ipd.sdq.eventsim.instrumentation.xml.DescriptionToXmlParser
-
public class DescriptionToXmlParser extends Object
Provides means for savingInstrumentationDescription
s to XML files.
-
-
Constructor Summary
Constructors Constructor Description DescriptionToXmlParser()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
printToConsole(InstrumentationDescription description)
InstrumentationDescription
readFromFile(String filename)
InstrumentationDescription
readFromInputStream(InputStream stream)
void
saveToFile(InstrumentationDescription description, String filename)
-
-
-
Method Detail
-
saveToFile
public void saveToFile(InstrumentationDescription description, String filename) throws javax.xml.bind.JAXBException
- Throws:
javax.xml.bind.JAXBException
-
printToConsole
public void printToConsole(InstrumentationDescription description) throws javax.xml.bind.JAXBException
- Throws:
javax.xml.bind.JAXBException
-
readFromInputStream
public InstrumentationDescription readFromInputStream(InputStream stream) throws javax.xml.bind.JAXBException
- Throws:
javax.xml.bind.JAXBException
-
readFromFile
public InstrumentationDescription readFromFile(String filename) throws javax.xml.bind.JAXBException
- Throws:
javax.xml.bind.JAXBException
-
-