Package org.assertj.core.util.xml
Class XmlStringPrettyFormatter
java.lang.Object
org.assertj.core.util.xml.XmlStringPrettyFormatter
Deprecated.
Format an XML String with indent = 2 space.
Very much inspired by http://stackoverflow.com/questions/139076/how-to-pretty-print-xml-from-java and http://pastebin.com/XL7932aC
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static DocumentBuilderFactoryDeprecated.private static StringprettyFormat(Document document, boolean keepXmlDeclaration) Deprecated.private static DocumenttoXmlDocument(String xmlString) Deprecated.static StringxmlPrettyFormat(String xmlStringToFormat) Deprecated.
-
Field Details
-
FORMAT_ERROR
Deprecated.- See Also:
-
SECURE_FEATURES
Deprecated.
-
-
Constructor Details
-
XmlStringPrettyFormatter
private XmlStringPrettyFormatter()Deprecated.
-
-
Method Details
-
xmlPrettyFormat
Deprecated. -
prettyFormat
Deprecated. -
toXmlDocument
Deprecated. -
documentBuilderFactory
Deprecated.
-
isXmlEqualTo(CharSequence)rather than a feature for AssertJ users, therefore its usage is discouraged and no replacement is provided.