Class XMLDocumentInputStream<T>

java.lang.Object
org.dellroad.stuff.jibx.XMLDocumentInputStream<T>
Type Parameters:
T - XML document type

public class XMLDocumentInputStream<T> extends Object
InputStream over which XML documents are passed. This class is a companion to XMLDocumentOutputStream.

XML documents are converted into Java objects via JiBXUtil.readObject().

Instances of this class are thread-safe.

See Also:
  • Constructor Details

    • XMLDocumentInputStream

      public XMLDocumentInputStream(Class<T> type, InputStream input)
      Constructor.
      Parameters:
      type - Java type for XML documents
      input - data source
  • Method Details