public class XMLtoDOM
extends java.lang.Object
| Constructor and Description |
|---|
XMLtoDOM()
The constructor.
|
| Modifier and Type | Method and Description |
|---|---|
org.w3c.dom.Document |
getDocument(java.net.URI uri)
Translates a URI into a DOM document.
|
void |
setWriter(java.io.PrintWriter writer)
Sets the writer to be used for all output.
|
public void setWriter(java.io.PrintWriter writer)
writer - The writerpublic org.w3c.dom.Document getDocument(java.net.URI uri)
http://host/servlet?k1=v1&k2=v2&k3=v3
uri - the URI