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