Package com.helger.xml.serialize.read
Class DOMInputStreamProvider
java.lang.Object
com.helger.commons.io.streamprovider.StringInputStreamProvider
com.helger.xml.serialize.read.DOMInputStreamProvider
- All Implemented Interfaces:
com.helger.commons.io.IHasInputStream,com.helger.commons.io.IHasInputStreamAndReader,com.helger.commons.io.IHasReader
public class DOMInputStreamProvider
extends com.helger.commons.io.streamprovider.StringInputStreamProvider
A special input stream provider that takes an existing
Node and
converts it to a byte array.- Author:
- Philip Helger
-
Constructor Summary
ConstructorsConstructorDescriptionDOMInputStreamProvider(Node aNode) Constructor for W3C nodes using the default XML charset.DOMInputStreamProvider(Node aNode, IXMLWriterSettings aSettings) Constructor for W3C nodes.DOMInputStreamProvider(Node aNode, Charset aCharset) Constructor for W3C nodes. -
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
-
DOMInputStreamProvider
Constructor for W3C nodes using the default XML charset.- Parameters:
aNode- The node to be streamed. May not benull.
-
DOMInputStreamProvider
Constructor for W3C nodes.- Parameters:
aNode- The node to be streamed. May not benull.aCharset- The charset to use. May not benull.
-
DOMInputStreamProvider
Constructor for W3C nodes.- Parameters:
aNode- The node to be streamed. May not benull.aSettings- The settings to use. May not benull.
-