|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface XMLReaderWriter
This interface is used to read and write JDOM compliant XML files.
| Method Summary | |
|---|---|
org.jdom.Document |
readDocument(java.io.InputStream stream)
This method will write a JDOM Document to an OutputStream. |
void |
writeDocument(org.jdom.Document doc,
java.io.OutputStream stream)
This method will write a JDOM Document to an OutputStream. |
| Method Detail |
|---|
void writeDocument(org.jdom.Document doc,
java.io.OutputStream stream)
throws java.io.IOException
doc - the JDOM document to be written to the OutputStreamstream - the output stream to be written to.
java.io.IOException - if there is a problem writing to the OutputStream
org.jdom.Document readDocument(java.io.InputStream stream)
throws org.jdom.JDOMException,
java.io.IOException
stream - the input stream to read the XML document from.
java.io.IOException - if there is a problem reading from the InputStream
org.jdom.JDOMException - if the InputStream does not represent a JDOM
compliant XML document.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||