public abstract class JvyamlTestUtils
extends com.avcompris.util.AbstractUtils
| Constructor and Description |
|---|
JvyamlTestUtils() |
| Modifier and Type | Method and Description |
|---|---|
static String |
eraseWhitespaces(String s)
return a String created with the content of an XML File.
|
static String |
transform(String xml,
String xsltFilename)
transform an XML via an XSLT Stylesheet.
|
static String |
transform(String xml,
String xsltFilename,
Properties params)
transform an XML via an XSLT Stylesheet.
|
public static String eraseWhitespaces(String s) throws Exception
s - the original XML StringExceptionpublic static String transform(String xml, String xsltFilename) throws Exception
xml - the XML content to transformxsltFilename - the XSLT File's nameExceptionpublic static String transform(String xml, String xsltFilename, @Nullable Properties params) throws Exception
xml - the XML content to transformxsltFilename - the XSLT File's nameparams - the params for the XSLTExceptionCopyright © 2018 David Andrianavalontsalama. All rights reserved.