public class PrettyPrinter extends Object
Constructor and Description |
---|
PrettyPrinter() |
Modifier and Type | Method and Description |
---|---|
static String |
prettyPrint(byte[] value) |
static String |
prettyPrint(Collection<?> collection) |
static String |
prettyPrint(Collection<?> collection,
int maxItems) |
static String |
prettyPrint(Date date) |
static String |
prettyPrint(Element element) |
static String |
prettyPrint(Element element,
boolean displayTag) |
static String |
prettyPrint(List<Element> list)
Assumes that all elements in the lists have the same QName
|
static String |
prettyPrint(Node node) |
static String |
prettyPrint(Object value) |
static String |
prettyPrint(Object[] value) |
static String |
prettyPrint(QName qname) |
static void |
registerPrettyPrinter(Class<?> printerClass) |
static void |
setDefaultNamespacePrefix(String prefix) |
public static void setDefaultNamespacePrefix(String prefix)
public static String prettyPrint(Collection<?> collection)
public static String prettyPrint(Collection<?> collection, int maxItems)
public static String prettyPrint(List<Element> list)
list
- public static String prettyPrint(byte[] value)
public static void registerPrettyPrinter(Class<?> printerClass)
Copyright © 2016 evolveum. All rights reserved.