Package science.aist.ocel.model
Interface XMLRepository<T>
-
- All Known Implementing Classes:
LogRepository
public interface XMLRepository<T>
Generic Definition of a XML Repository
- Since:
- 1.0
- Author:
- Andreas Pointner
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description javax.xml.bind.JAXBElement<T>
load(InputStream is)
Loads an element from a given input streamvoid
save(javax.xml.bind.JAXBElement<T> jaxbElement, OutputStream os)
Saves a given element to the given output stream
-
-
-
Method Detail
-
save
void save(javax.xml.bind.JAXBElement<T> jaxbElement, OutputStream os)
Saves a given element to the given output stream- Parameters:
jaxbElement
- the elementos
- the output stream
-
load
javax.xml.bind.JAXBElement<T> load(InputStream is)
Loads an element from a given input stream- Parameters:
is
- the input stream- Returns:
- the loaded element
-
-