Class PrettyPrinter

java.lang.Object
com.evolveum.midpoint.util.PrettyPrinter

public class PrettyPrinter extends Object
Author:
semancik
  • Constructor Details

    • PrettyPrinter

      public PrettyPrinter()
  • Method Details

    • addDefaultNamespacePrefix

      public static void addDefaultNamespacePrefix(String prefix)
    • prettyPrintLazily

      public static Object prettyPrintLazily(Collection<?> collection)
    • prettyPrintLazily

      public static Object prettyPrintLazily(Object object)
    • prettyPrint

      public static String prettyPrint(Collection<?> collection)
    • prettyPrint

      public static String prettyPrint(Collection<?> collection, int maxItems)
    • prettyPrint

      public static String prettyPrint(QName qname)
    • qnameToString

      public static String qnameToString(QName name)
    • prettyPrint

      public static String prettyPrint(List<Element> list)
      Assumes that all elements in the lists have the same QName
    • 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(Date date)
    • prettyPrint

      public static String prettyPrint(Object[] value)
    • prettyPrint

      public static String prettyPrint(byte[] value)
    • prettyPrint

      public static String prettyPrint(Object value)
    • debugDump

      public static String debugDump(Object value, int indent)
    • shortDump

      public static void shortDump(StringBuilder sb, Object value)
    • registerPrettyPrinter

      public static void registerPrettyPrinter(Class<?> printerClass)