org.custommonkey.xmlunit
public class NodeInputStream extends InputStream
Constructor Summary | |
---|---|
NodeInputStream(Node rootNode)
Simple constructor | |
NodeInputStream(Node rootNode, Properties outputProperties)
Simple constructor |
Method Summary | |
---|---|
int | available()
InputStream method |
void | close()
InputStream method
Note that calling close allows a repeated read of the content |
int | read()
InputStream method |
Parameters: rootNode the node to be presented as an input stream
Parameters: rootNode the node to be presented as an input stream
Returns: number of bytes available
Throws: IOException
Returns: byte as read
Throws: IOException