|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.io.InputStream
org.custommonkey.xmlunit.NodeInputStream
Adapter class to present the content of a DOM Node (e.g. a Document) as an
InputStream using a DOM to Stream transformation.
Examples and more at xmlunit.sourceforge.net
Constructor Summary | |
NodeInputStream(org.w3c.dom.Node rootNode)
Simple constructor |
|
NodeInputStream(org.w3c.dom.Node rootNode,
java.util.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 |
Methods inherited from class java.io.InputStream |
mark, markSupported, read, read, reset, skip |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public NodeInputStream(org.w3c.dom.Node rootNode)
rootNode
- the node to be presented as an input streampublic NodeInputStream(org.w3c.dom.Node rootNode, java.util.Properties outputProperties)
rootNode
- the node to be presented as an input streamMethod Detail |
public int read() throws java.io.IOException
java.io.IOException
public void close() throws java.io.IOException
java.io.IOException
public int available() throws java.io.IOException
java.io.IOException
|
XMLUnit is hosted by sourceforge.net |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |