public class XMLTransformer extends Object
Modifier and Type | Method and Description |
---|---|
static Transformer |
getXMLTransformer()
Returns a new initialized xml formatter.
|
static String |
transform(Source xml) |
static String |
transform(String xml) |
public static Transformer getXMLTransformer() throws TransformerConfigurationException
TransformerConfigurationException
- configuration errorpublic static String transform(Source xml) throws TransformerConfigurationException, TransformerException, TransformerFactoryConfigurationError
Copyright © 2019. All rights reserved.