@Test void testSerialize() { Document d = createSimpleDocument(); String result = this.xml.serialize(d); assertEquals("<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<a>\u00E9</a>", result, "Wrong serialization"); }
public String serialize(Node node) { return XMLUtils.serialize(node); }
XMLScriptService implements ScriptService { public String serialize(Node node) { return XMLUtils.serialize(node); } }
XMLScriptService implements ScriptService { public String serialize(Node node) { return XMLUtils.serialize(node); } XMLScriptService(); }
XMLScriptService implements ScriptService { public String serialize(Node node) { return XMLUtils.serialize(node); } XMLScriptService(); static String escape(Object content); static String escapeForAttributeValue(Object content); static String escapeForElementContent(Object content); static String unescape(Object content); Document createDOMDocument(); Document parse(LSInput source); Document parse(byte[] content); Document parse(String content); Document parse(InputStream stream); String serialize(Node node); String serialize(Node node, boolean withXmlDeclaration); String transform(Source xml, Source xslt); String transform(Document xml, Document xslt); String transform(byte[] xml, byte[] xslt); String transform(String xml, String xslt); }
XMLScriptService implements ScriptService { public String serialize(Node node) { return XMLUtils.serialize(node); } XMLScriptService(); static String escape(Object content); static String escapeForAttributeValue(Object content); static String escapeForElementContent(Object content); static String unescape(Object content); Document createDOMDocument(); Document parse(LSInput source); Document parse(byte[] content); Document parse(String content); Document parse(InputStream stream); String serialize(Node node); String serialize(Node node, boolean withXmlDeclaration); String transform(Source xml, Source xslt); String transform(Document xml, Document xslt); String transform(byte[] xml, byte[] xslt); String transform(String xml, String xslt);  }