Class SchemaDebugUtil
java.lang.Object
com.evolveum.midpoint.schema.util.SchemaDebugUtil
- Author:
- semancik
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
debugDump
(ObjectType objectType, int indent) static void
debugDump
(StringBuilder sb, ObjectReferenceType ref, int indent) static void
debugDump
(StringBuilder sb, Collection<ObjectReferenceType> refs, int indent) static String
debugDump
(Collection<? extends DebugDumpable> dumpables) static String
debugDump
(Collection<? extends DebugDumpable> dumpables, int indent) static <K,
V extends DebugDumpable>
voiddebugDumpMapMultiLine
(StringBuilder sb, Map<K, V> map, int indent) static <K,
V> void debugDumpMapSingleLine
(StringBuilder sb, Map<K, V> map, int indent) static void
debugDumpWithLabel
(StringBuilder sb, String label, Collection<ObjectReferenceType> refs, int indent) static void
debugDumpWithLabelLn
(StringBuilder sb, String label, Collection<ObjectReferenceType> refs, int indent) static String
debugDumpXsdAnyProperties
(Collection<?> xsdAnyCollection, int indent) static <K,
V extends DebugDumpable>
StringdumpMapMultiLine
(Map<K, V> map) static void
indentDebugDump
(StringBuilder sb, int indent) static void
static void
static String
prettyPrint
(ObjectQuery query) static String
prettyPrint
(ObjectListType list) static String
prettyPrint
(PropertyReferenceListType reflist) static String
prettyPrint
(AssignmentType assignmentType) static String
prettyPrint
(CachingMetadataType cachingMetadata) static String
prettyPrint
(ConstExpressionEvaluatorType expressionType) static String
static String
prettyPrint
(ExpressionType expressionType) static String
prettyPrint
(LoginEventType loginEventType) static String
prettyPrint
(ObjectDeltaOperationType deltaOpType) static String
static String
prettyPrint
(ObjectType object) static String
prettyPrint
(OperationResultType resultType) static String
prettyPrint
(OrderConstraintsType constraints) static String
static String
static String
prettyPrint
(ScheduleType scheduleType) static String
prettyPrint
(SynchronizationSituationDescriptionType syncDescType) static String
static String
prettyPrint
(PagingType paging) static String
prettyPrint
(ItemDeltaType change) static String
prettyPrint
(ObjectDeltaType deltaType) static String
prettyPrint
(ProtectedStringType protectedStringType) static String
prettyPrint
(jakarta.xml.bind.JAXBElement<?> element) static String
prettyPrint
(Object value) static String
prettyPrint
(Collection<?> collection) 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 value) static void
shortDump
(StringBuilder sb, ObjectDeltaOperationType deltaOpType) static void
shortDump
(StringBuilder sb, ObjectReferenceType ref) static void
shortDump
(StringBuilder sb, OrderConstraintsType constraints) static void
shortDump
(StringBuilder sb, ObjectDeltaType deltaType) static void
shortDumpOrderConstraintsList
(StringBuilder sb, List<OrderConstraintsType> orderConstraints) static String
shortDumpOrderConstraintsList
(List<OrderConstraintsType> orderConstraints) static void
-
Constructor Details
-
SchemaDebugUtil
public SchemaDebugUtil()
-
-
Method Details
-
debugDump
-
debugDump
-
debugDumpXsdAnyProperties
-
debugDumpWithLabelLn
public static void debugDumpWithLabelLn(StringBuilder sb, String label, Collection<ObjectReferenceType> refs, int indent) -
debugDumpWithLabel
public static void debugDumpWithLabel(StringBuilder sb, String label, Collection<ObjectReferenceType> refs, int indent) -
debugDump
-
debugDump
-
shortDumpReferenceCollectionOptionalBrackets
public static void shortDumpReferenceCollectionOptionalBrackets(StringBuilder sb, List<ObjectReferenceType> refs) -
shortDump
-
indentDebugDump
-
dumpMapMultiLine
-
debugDumpMapMultiLine
public static <K,V extends DebugDumpable> void debugDumpMapMultiLine(StringBuilder sb, Map<K, V> map, int indent) -
debugDumpMapSingleLine
-
debugDump
-
prettyPrint
-
prettyPrint
-
prettyPrint
-
prettyPrint
-
prettyPrint
-
prettyPrint
-
prettyPrint
-
prettyPrint
-
prettyPrint
-
prettyPrint
-
prettyPrint
-
prettyPrint
-
prettyPrint
-
prettyPrint
-
prettyPrint
-
prettyPrint
- Throws:
SchemaException
-
prettyPrint
Assumes that all elements in the lists have the same QName- Parameters:
list
-- Returns:
-
prettyPrint
-
prettyPrint
-
prettyPrint
-
prettyPrint
-
prettyPrint
-
prettyPrint
-
prettyPrint
-
prettyPrint
-
prettyPrint
-
prettyPrint
-
prettyPrint
-
prettyPrint
-
prettyPrintLazily
-
prettyPrint
-
prettyPrint
-
shortDump
-
shortDump
-
shortDump
-
shortDumpOrderConstraintsList
public static void shortDumpOrderConstraintsList(StringBuilder sb, List<OrderConstraintsType> orderConstraints) -
shortDumpOrderConstraintsList
-
initialize
public static void initialize() -
initializePrettyPrinter
public static void initializePrettyPrinter()
-