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,Serializable
public class MicroDOMInputStreamProvider extends com.helger.commons.io.streamprovider.StringInputStreamProviderA special input stream provider that takes an existingIMicroNodeand converts it to a byte array.- Author:
- Philip Helger
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MicroDOMInputStreamProvider(IMicroNode aNode)Constructor 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, toString
-
-
-
-
Constructor Detail
-
MicroDOMInputStreamProvider
public MicroDOMInputStreamProvider(@Nonnull IMicroNode aNode)
Constructor for MicroNodes using the default charset.- Parameters:
aNode- The node to be streamed. May not benull.- See Also:
XMLWriterSettings.DEFAULT_XML_CHARSET
-
MicroDOMInputStreamProvider
public MicroDOMInputStreamProvider(@Nonnull IMicroNode aNode, @Nonnull Charset aCharset)
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.
-
-