| java.lang.Object org.mmbase.util.xml.XMLWriter
XMLWriter | public class XMLWriter (Code) | | Util class to serialize xml (wrapper around javax.xml.transform.Transformer)
author: Kees Jongenburger since: MMBase-1.7 |
Method Summary | |
public static void | write(Node node, Writer writer, boolean indent) defaulting version of
XMLWriter.write(Node,Writer,boolean,boolean) . | public static void | write(Node node, Writer writer, boolean indent, boolean omitxml) | public static String | write(Node node, boolean indent) Defaulting version of
XMLWriter.write(Node,boolean,boolean) . | public static String | write(Node node, boolean indent, boolean omitxml) |
write | public static void write(Node node, Writer writer, boolean indent, boolean omitxml) throws TransformerConfigurationException, TransformerException(Code) | | static method to serialize an DOM document
Parameters: node - the node to serialize Parameters: writer - the writer to write the node to Parameters: indent - if true the document wil be indented Parameters: omitxml - |
write | public static String write(Node node, boolean indent, boolean omitxml)(Code) | | static method to serialize a node to a string
Parameters: node - the node to serialize Parameters: indent - , if true the node wil be indented Parameters: omitxml - the string represneation of the xml of null if an error occured |
|
|