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
ConstructorsConstructorDescriptionConstructor for MicroNodes using the default charset.MicroDOMInputStreamProvider(IMicroNode aNode, IXMLWriterSettings aSettings) Constructor for micro nodes.MicroDOMInputStreamProvider(IMicroNode aNode, Charset aCharset) Constructor for MicroNodes. -
Method Summary
Methods inherited from class com.helger.commons.io.streamprovider.StringInputStreamProvider
equals, getCharset, getData, getInputStream, getReader, getReader, hashCode, isReadMultiple, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.helger.commons.io.IHasInputStream
getBufferedInputStream, withBufferedInputStreamDo, withInputStreamDoMethods inherited from interface com.helger.commons.io.IHasInputStreamAndReader
getBufferedReaderMethods inherited from interface com.helger.commons.io.IHasReader
getBufferedReader
-
Constructor Details
-
MicroDOMInputStreamProvider
Constructor for MicroNodes using the default charset.- Parameters:
aNode- The node to be streamed. May not benull.- See Also:
-
MicroDOMInputStreamProvider
Constructor for MicroNodes.- Parameters:
aNode- The node to be streamed. May not benull.aCharset- The charset to use. May not benull.
-
MicroDOMInputStreamProvider
public MicroDOMInputStreamProvider(@Nonnull IMicroNode aNode, @Nonnull IXMLWriterSettings aSettings) Constructor for micro nodes.- Parameters:
aNode- The node to be streamed. May not benull.aSettings- The settings to use. May not benull.
-