@Test void escape() { assertEquals("&#60;a b=&#39;c&#39;&#62;d&#60;/a&#62;", XMLScriptService.escape("<a b='c'>d</a>")); }
public static String escape(Object content) { return XMLUtils.escape(Objects.toString(content, null)); }
XMLScriptService implements ScriptService { public static String escape(Object content) { return XMLUtils.escape(Objects.toString(content, null)); } }
XMLScriptService implements ScriptService { public static String escape(Object content) { return XMLUtils.escape(Objects.toString(content, null)); } XMLScriptService(); }
XMLScriptService implements ScriptService { public static String escape(Object content) { return XMLUtils.escape(Objects.toString(content, null)); } 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 static String escape(Object content) { return XMLUtils.escape(Objects.toString(content, null)); } 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);  }