|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--java.io.Writer
|
+--java.io.PrintWriter
|
+--com.g11ntoolkit.domutil.DOMWriter
DOM Document writer
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
See License Agreement.
| Field Summary |
| Fields inherited from class java.io.PrintWriter |
out |
| Fields inherited from class java.io.Writer |
lock |
| Constructor Summary | |
DOMWriter(java.io.OutputStream out)
Create a new DOMWriter, without automatic line flushing, from an existing OutputStream. |
|
DOMWriter(java.io.OutputStream out,
boolean autoFlush)
Create a new DOMWriter from an existing OutputStream. |
|
DOMWriter(java.io.Writer out)
Create a new DOMWriter, without automatic line flushing. |
|
DOMWriter(java.io.Writer out,
boolean autoFlush)
Create a new DOMWriter. |
|
| Method Summary | |
protected void |
write(org.w3c.dom.Attr attr)
Write out DOM Attribute |
protected void |
write(org.w3c.dom.CDATASection cdata)
Write out DOM CDATASection |
protected void |
write(org.w3c.dom.Comment comment)
Write out DOM Comment |
void |
write(org.w3c.dom.Document doc)
Write out DOM Document |
protected void |
write(org.w3c.dom.DocumentFragment docflag)
Write out DOM DocumentFragment |
void |
write(org.w3c.dom.Document doc,
java.lang.String encoding)
Write out DOM Document with encoding |
protected void |
write(org.w3c.dom.DocumentType doctype)
Write out DOM DocumentType |
protected void |
write(org.w3c.dom.Element elm)
Write out DOM Element |
protected void |
write(org.w3c.dom.Entity entity)
Write out DOM Entity |
protected void |
write(org.w3c.dom.EntityReference entityref)
Write out DOM EntityReference |
protected void |
write(org.w3c.dom.NamedNodeMap nodes)
Write out DOM NamedNodeMap |
void |
write(org.w3c.dom.Node node)
Write out DOM Node |
protected void |
write(org.w3c.dom.NodeList nodes)
Write out DOM NodeList |
protected void |
write(org.w3c.dom.Notation notation)
Write out DOM Notation |
protected void |
write(org.w3c.dom.ProcessingInstruction pi)
Write out DOM ProcessingInstruction |
protected void |
write(org.w3c.dom.Text text)
Write out DOM Text |
protected void |
writeChilden(org.w3c.dom.Node children)
Write out DOM Childen Nodes |
| Methods inherited from class java.io.PrintWriter |
checkError, close, flush, print, print, print, print, print, print, print, print, print, println, println, println, println, println, println, println, println, println, println, setError, write, write, write, write, write |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public DOMWriter(java.io.OutputStream out)
out - A character-output stream
public DOMWriter(java.io.OutputStream out,
boolean autoFlush)
out - A character-output streamautoFlush - A boolean; if true, the println() methods will flush the output bufferpublic DOMWriter(java.io.Writer out)
out - A character-output stream
public DOMWriter(java.io.Writer out,
boolean autoFlush)
out - A character-output streamautoFlush - A boolean; if true, the println() methods will flush the output buffer| Method Detail |
public void write(org.w3c.dom.Document doc,
java.lang.String encoding)
doc - Document classencoding - Output encodingpublic void write(org.w3c.dom.Document doc)
doc - Document classpublic void write(org.w3c.dom.Node node)
node - Node classprotected void write(org.w3c.dom.Attr attr)
attr - Attribute classprotected void write(org.w3c.dom.CDATASection cdata)
cdata - CDATASection classprotected void write(org.w3c.dom.Comment comment)
comment - Comment classprotected void write(org.w3c.dom.DocumentFragment docflag)
docflag - DocumentFragment classprotected void write(org.w3c.dom.DocumentType doctype)
doctype - DocumentType classprotected void write(org.w3c.dom.Element elm)
elm - Element classprotected void write(org.w3c.dom.Entity entity)
entity - Entity classprotected void write(org.w3c.dom.EntityReference entityref)
entityref - EntityReference classprotected void write(org.w3c.dom.NodeList nodes)
nodes - NodeList classprotected void write(org.w3c.dom.NamedNodeMap nodes)
nodes - NamedNodeMap classprotected void write(org.w3c.dom.Notation notation)
notation - Notation classprotected void write(org.w3c.dom.ProcessingInstruction pi)
pi - ProcessingInstruction classprotected void write(org.w3c.dom.Text text)
text - Text classprotected void writeChilden(org.w3c.dom.Node children)
children - Node class
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||