|
NextApp Echo2 v2.1.1 |
||||||||
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 createMethod Detail |
---|
public org.w3c.dom.Document getDocument()
Document
object.
Document
objectpublic void render(java.io.PrintWriter pw) throws java.io.IOException
PrintWriter
.
pw
- the PrintWriter
java.io.IOException
public void setOutputProperties(java.util.Properties newValue)
javax.xml.transform.Transformer
.
newValue
- the new output properties
|
NextApp Echo2 v2.1.1 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |