|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnextapp.echo2.webrender.output.XmlDocument
public class XmlDocument
A simple wrapper around JAXP/W3C DOM APIs to generate and render an XML document.
| Constructor Summary | |
|---|---|
XmlDocument(java.lang.String qualifiedName,
java.lang.String publicId,
java.lang.String systemId,
java.lang.String namespaceUri)
Creates a new XmlDocument. |
|
| Method Summary | |
|---|---|
org.w3c.dom.Document |
getDocument()
Returns the W3C DOM implementation Document object. |
void |
render(java.io.PrintWriter pw)
Renders the document to a PrintWriter. |
void |
setOutputProperties(java.util.Properties newValue)
Sets the output properties which will be used by the rendering javax.xml.transform.Transformer. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public XmlDocument(java.lang.String qualifiedName,
java.lang.String publicId,
java.lang.String systemId,
java.lang.String namespaceUri)
XmlDocument.
qualifiedName - the qualified name of the document type to be
createdpublicId - the external subset public identifiersystemId - the external subset system identifiernamespaceUri - the namespace URI of the document element to create| Method Detail |
|---|
public org.w3c.dom.Document getDocument()
Document object.
Document object
public void render(java.io.PrintWriter pw)
throws java.io.IOException
PrintWriter.
pw - the PrintWriter
java.io.IOExceptionpublic void setOutputProperties(java.util.Properties newValue)
javax.xml.transform.Transformer.
newValue - the new output properties
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||