|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.mmbase.util.xml.XMLWriter
public class XMLWriter
Util class to serialize xml (wrapper around javax.xml.transform.Transformer)
| Method Summary | |
|---|---|
static String |
write(Collection<? extends Node> c)
|
static String |
write(Node node)
|
static String |
write(Node node,
boolean indent)
Defaulting version of write(Node, boolean, boolean). |
static String |
write(Node node,
boolean indent,
boolean omitxml)
static method to serialize a node to a string |
static void |
write(Node node,
Writer writer,
boolean indent)
defaulting version of write(Node, Writer, boolean, boolean). |
static void |
write(Node node,
Writer writer,
boolean indent,
boolean omitxml)
static method to serialize an DOM document |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static void write(Node node,
Writer writer,
boolean indent)
throws TransformerConfigurationException,
TransformerException
write(Node, Writer, boolean, boolean). (Not ommitting xml declaration).
TransformerConfigurationException
TransformerException
public static void write(Node node,
Writer writer,
boolean indent,
boolean omitxml)
throws TransformerConfigurationException,
TransformerException
node - the node to serializewriter - the writer to write the node toindent - if true the document wil be indentedomitxml -
TransformerConfigurationException
TransformerException
public static String write(Node node,
boolean indent)
write(Node, boolean, boolean). (Not ommitting xml
declaration).
public static String write(Node node)
public static String write(Collection<? extends Node> c)
public static String write(Node node,
boolean indent,
boolean omitxml)
node - the node to serializeindent - , if true the node wil be indentedomitxml -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||