Interface XMLRepository<T>

  • All Known Implementing Classes:
    BPMNTDefinitionsRepository

    public interface XMLRepository<T>

    Generic Definition of a XML Repository

    Since:
    1.0
    Author:
    Andreas Pointner
    • 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 element
        os - 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