public class XMLOut extends Object
| Constructor and Description |
|---|
XMLOut() |
| Modifier and Type | Method and Description |
|---|---|
static void |
xmlSerializer(Document doc,
OutputStream os)
Pretty print W3C DOM represented XML document to a given output stream.
|
static void |
xmlSerializer(Node node,
OutputStream os)
Pretty print W3C DOM represented XML document to a given output stream.
|
static void |
xmlStdoutSerializer(Document doc)
Pretty print W3C DOM represented XML document to the application standard
output.
|
static void |
xmlStdoutSerializer(Node node)
Pretty print W3C DOM represented XML node to the application standard
output.
|
static String |
xmlStringSerializer(Document doc)
Transform W3C DOM represented XML document to pretty-printed string
representation.
|
static String |
xmlStringSerializer(Node node)
Transform W3C DOM represented XML node to pretty-printed string
representation.
|
public static void xmlStdoutSerializer(Document doc)
doc - W3C DOM represented XML document to pretty print.public static void xmlStdoutSerializer(Node node)
node - W3C DOM represented XML node to pretty print.public static void xmlSerializer(Document doc, OutputStream os)
doc - W3C DOM represented XML document to pretty print.os - Output stream to pretty print input XML to.public static void xmlSerializer(Node node, OutputStream os)
node - W3C DOM node to pretty print.os - Output stream to pretty print input XML to.public static String xmlStringSerializer(Document doc)
doc - W3C DOM represented XML document to pretty print.Copyright © 2016. All rights reserved.