Package science.aist.xes.model.impl
Class LogRepository
- java.lang.Object
-
- science.aist.xes.model.impl.LogRepository
-
- All Implemented Interfaces:
XMLRepository<LogType>
public class LogRepository extends Object implements XMLRepository<LogType>
Repository for
LogType
- Since:
- 1.0
- Author:
- Andreas Pointner
-
-
Constructor Summary
Constructors Constructor Description LogRepository()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.xml.bind.JAXBElement<LogType>
load(InputStream is)
Loads an element from a given input streamvoid
save(javax.xml.bind.JAXBElement<LogType> jaxbElement, OutputStream os)
Saves a given element to the given output stream
-
-
-
Method Detail
-
save
public void save(javax.xml.bind.JAXBElement<LogType> jaxbElement, OutputStream os)
Description copied from interface:XMLRepository
Saves a given element to the given output stream- Specified by:
save
in interfaceXMLRepository<LogType>
- Parameters:
jaxbElement
- the elementos
- the output stream
-
load
public javax.xml.bind.JAXBElement<LogType> load(InputStream is)
Description copied from interface:XMLRepository
Loads an element from a given input stream- Specified by:
load
in interfaceXMLRepository<LogType>
- Parameters:
is
- the input stream- Returns:
- the loaded element
-
-