Interface Binder


  • public interface Binder
    Contract for performing JAXB binding.
    • Method Detail

      • bind

        Binding bind​(javax.xml.transform.Source source,
                     Origin origin)
        Bind from an XML source.
        Parameters:
        source - The XML source.
        origin - The descriptor of the source origin
        Returns:
        The bound JAXB model
      • bind

        Binding bind​(java.io.InputStream stream,
                     Origin origin)
        Bind from an InputStream
        Parameters:
        stream - The InputStream containing XML
        origin - The descriptor of the stream origin
        Returns:
        The bound JAXB model