com.evolveum.midpoint.util
Class PrettyPrinter
java.lang.Object
com.evolveum.midpoint.util.PrettyPrinter
public class PrettyPrinter
- extends Object
- Author:
- semancik
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PrettyPrinter
public PrettyPrinter()
setDefaultNamespacePrefix
public static void setDefaultNamespacePrefix(String prefix)
prettyPrint
public static String prettyPrint(Collection<?> collection)
prettyPrint
public static String prettyPrint(Collection<?> collection,
int maxItems)
prettyPrint
public static String prettyPrint(QName qname)
prettyPrint
public static String prettyPrint(List<Element> list)
- Assumes that all elements in the lists have the same QName
- Parameters:
list
-
- Returns:
prettyPrint
public static String prettyPrint(Node node)
prettyPrint
public static String prettyPrint(Element element)
prettyPrint
public static String prettyPrint(Element element,
boolean displayTag)
prettyPrint
public static String prettyPrint(Object[] value)
prettyPrint
public static String prettyPrint(Object value)
registerPrettyPrinter
public static void registerPrettyPrinter(Class<?> printerClass)
Copyright © 2013 evolveum. All Rights Reserved.