com.evolveum.midpoint.common
Class DebugUtil
java.lang.Object
com.evolveum.midpoint.common.DebugUtil
- All Implemented Interfaces:
- ObjectFormatter
public class DebugUtil
- extends java.lang.Object
- implements ObjectFormatter
- Author:
- semancik
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DebugUtil
public DebugUtil()
prettyPrint
public static java.lang.String prettyPrint(PropertyReferenceListType reflist)
prettyPrint
public static java.lang.String prettyPrint(PropertyReferenceType ref)
prettyPrint
public static java.lang.String prettyPrint(ObjectType object)
prettyPrint
public static java.lang.String prettyPrint(ObjectType object,
boolean showContent)
prettyPrint
public static java.lang.String prettyPrint(AccountShadowType object,
boolean showContent)
prettyPrint
public static java.lang.String prettyPrint(ResourceObjectShadowType.Attributes attrs)
prettyPrint
public static java.lang.String prettyPrint(ObjectContainerType container)
prettyPrint
public static java.lang.String prettyPrint(ObjectModificationType objectChange)
prettyPrint
public static java.lang.String prettyPrint(PropertyModificationType change)
prettyPrint
public static java.lang.String prettyPrint(java.util.List<org.w3c.dom.Element> list)
- Assumes that all elements in the lists have the same QName
- Parameters:
list
-
- Returns:
prettyPrint
public static java.lang.String prettyPrint(org.w3c.dom.Node node)
prettyPrint
public static java.lang.String prettyPrint(org.w3c.dom.Element element)
prettyPrint
public static java.lang.String prettyPrint(org.w3c.dom.Element element,
boolean displayTag)
prettyPrint
public static java.lang.String prettyPrint(ObjectListType list)
prettyPrint
public static java.lang.String prettyPrint(PropertyAvailableValuesListType propertyAvailableValues)
prettyPrint
public static java.lang.String prettyPrint(UserContainerType container)
prettyPrint
public static java.lang.String prettyPrint(ResourceObjectShadowListType shadowListType)
prettyPrint
public static java.lang.String prettyPrint(QueryType query)
prettyPrint
public static java.lang.String prettyPrint(ResourceObjectShadowChangeDescriptionType change)
prettyPrint
public static java.lang.String prettyPrint(ObjectChangeType change)
prettyPrint
public static java.lang.String prettyPrint(TestResultType testResult)
resourceFromShadow
public static java.lang.String resourceFromShadow(ResourceObjectShadowType shadow)
toReadableString
public static java.lang.String toReadableString(ResourceObjectShadowType shadow)
toReadableString
public static java.lang.String toReadableString(UserType user)
prettyPrint
public static java.lang.String prettyPrint(javax.xml.bind.JAXBElement<?> element)
prettyPrint
public static java.lang.String prettyPrint(java.lang.Object value)
format
public java.lang.String format(java.lang.Object o)
- Specified by:
format
in interface ObjectFormatter
Copyright © 2011 evolveum. All Rights Reserved.