|
TV-Browser 2.7.5 API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectutil.io.XMLWriter
public class XMLWriter
Creates a String representation of a XML-Document. Really simple, no Attributes, only Nodes and TextNodes, no PI's and stuff
| Constructor Summary | |
|---|---|
XMLWriter()
|
|
| Method Summary | |
|---|---|
String |
getStringForDocument(org.w3c.dom.Document doc,
String encoding)
Returns a String containg the XML-Document |
String |
getStringForNode(org.w3c.dom.Node node)
Returns a String for a Node |
void |
writeDocumentToOutputStream(org.w3c.dom.Document doc,
OutputStream out,
String encoding)
Writes a Document into an Outputstream |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public XMLWriter()
| Method Detail |
|---|
public String getStringForDocument(org.w3c.dom.Document doc,
String encoding)
doc - Documentencoding - Encoding
public String getStringForNode(org.w3c.dom.Node node)
node - Node
public void writeDocumentToOutputStream(org.w3c.dom.Document doc,
OutputStream out,
String encoding)
throws IOException
doc - Documentout - Outputstreamencoding - Encoding to use
IOException - Exception if write failed
|
TV-Browser 2.7.5 API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||