|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.doolin.oxml.source.AbstractOXMLSource
net.sf.doolin.oxml.source.StreamOXMLSource
public class StreamOXMLSource
DOM extracted from an IO stream.
| Constructor Summary | |
|---|---|
StreamOXMLSource(InputStream in)
Constructs a source from a stream. |
|
| Method Summary | |
|---|---|
void |
close()
Does nothing. |
protected void |
closeStream()
Internal protected method to close the stream. |
Document |
getSource()
Gets the XML source as a DOM |
| Methods inherited from class net.sf.doolin.oxml.source.AbstractOXMLSource |
|---|
getBuilder |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public StreamOXMLSource(InputStream in)
in - Stream to read| Method Detail |
|---|
public void close()
throws IOException
IOException - If the source cannot be closedOXMLSource.close()
protected void closeStream()
throws IOException
IOException - If the stream cannot be closed.
public Document getSource()
throws IOException
OXMLSource
IOException - If the DOM cannot be read
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||