| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectxml.dom.XmlTransformer
public class XmlTransformer
This object uses XSLT to write out a DOM document to an OutputStream. This program uses the DOM Level 2 api and JAXP 1.2.
| Method Summary | |
|---|---|
| static void | transform(org.w3c.dom.Document document,
          java.io.File stylesheet,
          java.io.OutputStream out)Transforms a DOM Document into another form, s pecified by its stylesheet. | 
| static void | writeXml(org.w3c.dom.Document document,
         java.io.OutputStream out)Writes a DOM Document to an OutputStream | 
| Methods inherited from class java.lang.Object | 
|---|
| equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Method Detail | 
|---|
public static void writeXml(org.w3c.dom.Document document,
                            java.io.OutputStream out)
                     throws java.lang.Exception
document - the top level node of the DOM treeout - OutputStream to write the output to
java.lang.Exception
public static void transform(org.w3c.dom.Document document,
                             java.io.File stylesheet,
                             java.io.OutputStream out)
document - the top level node of the DOM treestylesheet - the stylesheet containing the transform defsout - OutputStream to write the output to| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||