Class MicroDOMInputStreamProvider

java.lang.Object
com.helger.commons.io.streamprovider.StringInputStreamProvider
com.helger.xml.microdom.serialize.MicroDOMInputStreamProvider
All Implemented Interfaces:
com.helger.commons.io.IHasInputStream, com.helger.commons.io.IHasInputStreamAndReader, com.helger.commons.io.IHasReader

public class MicroDOMInputStreamProvider extends com.helger.commons.io.streamprovider.StringInputStreamProvider
A special input stream provider that takes an existing IMicroNode and converts it to a byte array.
Author:
Philip Helger
  • Constructor Summary

    Constructors
    Constructor
    Description
    Constructor for MicroNodes using the default charset.
    Constructor for micro nodes.
    Constructor for MicroNodes.
  • Method Summary

    Methods inherited from class com.helger.commons.io.streamprovider.StringInputStreamProvider

    equals, getCharset, getData, getInputStream, getReader, getReader, hashCode, isReadMultiple, toString

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.helger.commons.io.IHasInputStream

    getBufferedInputStream

    Methods inherited from interface com.helger.commons.io.IHasInputStreamAndReader

    getBufferedReader

    Methods inherited from interface com.helger.commons.io.IHasReader

    getBufferedReader
  • Constructor Details

    • MicroDOMInputStreamProvider

      public MicroDOMInputStreamProvider(@Nonnull IMicroNode aNode)
      Constructor for MicroNodes using the default charset.
      Parameters:
      aNode - The node to be streamed. May not be null.
      See Also:
    • MicroDOMInputStreamProvider

      public MicroDOMInputStreamProvider(@Nonnull IMicroNode aNode, @Nonnull Charset aCharset)
      Constructor for MicroNodes.
      Parameters:
      aNode - The node to be streamed. May not be null.
      aCharset - The charset to use. May not be null.
    • MicroDOMInputStreamProvider

      public MicroDOMInputStreamProvider(@Nonnull IMicroNode aNode, @Nonnull IXMLWriterSettings aSettings)
      Constructor for micro nodes.
      Parameters:
      aNode - The node to be streamed. May not be null.
      aSettings - The settings to use. May not be null.