|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--net.aerith.misao.xml.IONode
The IONode
is an abstract class of a node in the XML
document with I/O functions.
Constructor Summary | |
IONode()
|
Method Summary | |
abstract void |
makeElement(org.w3c.dom.Node parent)
Creates a DOM representation of the object. |
void |
read(java.io.File file)
Reads this XML document from the specified file. |
void |
read(java.io.Reader in)
Reads this XML document from the specified reader. |
abstract void |
setup(org.w3c.dom.Document doc)
Initializes this by the Document doc . |
protected static java.lang.String |
translateFrom(java.lang.String string)
Translates some special characters from XML style. |
protected static java.lang.String |
translateTo(java.lang.String string)
Translates some special characters into XML style. |
void |
write(java.io.File file)
Writes this XML document to the specified file. |
void |
write(java.io.Writer out)
Writes this XML document to the specified writer. |
Methods inherited from class java.lang.Object |
|
Constructor Detail |
public IONode()
Method Detail |
public void read(java.io.Reader in) throws java.io.IOException
in
- the reader.public void read(java.io.File file) throws java.io.IOException
GZIPInputStream
.file
- the file.public void write(java.io.Writer out) throws java.io.IOException
out
- the writer.public void write(java.io.File file) throws java.io.IOException
GZIPOutputStream
.out
- the writer.public abstract void setup(org.w3c.dom.Document doc)
doc
.doc
- the document.public abstract void makeElement(org.w3c.dom.Node parent)
parent
.parent
- the parent node.protected static java.lang.String translateFrom(java.lang.String string)
string
- the string.protected static java.lang.String translateTo(java.lang.String string)
string
- the string.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |