Package com.evolveum.midpoint.util
Class PrettyPrinter
java.lang.Object
com.evolveum.midpoint.util.PrettyPrinter
- Author:
- semancik
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
addDefaultNamespacePrefix
(String prefix) static String
static String
prettyPrint
(byte[] value) static String
prettyPrint
(Object value) static String
prettyPrint
(Object[] value) static String
prettyPrint
(Collection<?> collection) static String
prettyPrint
(Collection<?> collection, int maxItems) static String
prettyPrint
(Date date) static String
prettyPrint
(List<Element> list) Assumes that all elements in the lists have the same QNamestatic String
prettyPrint
(QName qname) static String
prettyPrint
(Element element) static String
prettyPrint
(Element element, boolean displayTag) static String
prettyPrint
(Node node) static Object
prettyPrintLazily
(Object object) static Object
prettyPrintLazily
(Collection<?> collection) static String
qnameToString
(QName name) static void
registerPrettyPrinter
(Class<?> printerClass) static void
shortDump
(StringBuilder sb, Object value)
-
Constructor Details
-
PrettyPrinter
public PrettyPrinter()
-
-
Method Details
-
addDefaultNamespacePrefix
-
prettyPrintLazily
-
prettyPrintLazily
-
prettyPrint
-
prettyPrint
-
prettyPrint
-
qnameToString
-
prettyPrint
Assumes that all elements in the lists have the same QName -
prettyPrint
-
prettyPrint
-
prettyPrint
-
prettyPrint
-
prettyPrint
-
prettyPrint
-
prettyPrint
-
debugDump
-
shortDump
-
registerPrettyPrinter
-