com.evolveum.midpoint.common
Class DebugUtil

java.lang.Object
  extended by com.evolveum.midpoint.common.DebugUtil
All Implemented Interfaces:
ObjectFormatter

public class DebugUtil
extends java.lang.Object
implements ObjectFormatter

Author:
semancik

Constructor Summary
DebugUtil()
           
 
Method Summary
 java.lang.String format(java.lang.Object o)
           
static java.lang.String prettyPrint(AccountShadowType object, boolean showContent)
           
static java.lang.String prettyPrint(org.w3c.dom.Element element)
           
static java.lang.String prettyPrint(org.w3c.dom.Element element, boolean displayTag)
           
static java.lang.String prettyPrint(javax.xml.bind.JAXBElement<?> element)
           
static java.lang.String prettyPrint(java.util.List<org.w3c.dom.Element> list)
          Assumes that all elements in the lists have the same QName
static java.lang.String prettyPrint(org.w3c.dom.Node node)
           
static java.lang.String prettyPrint(java.lang.Object value)
           
static java.lang.String prettyPrint(ObjectChangeType change)
           
static java.lang.String prettyPrint(ObjectContainerType container)
           
static java.lang.String prettyPrint(ObjectListType list)
           
static java.lang.String prettyPrint(ObjectModificationType objectChange)
           
static java.lang.String prettyPrint(ObjectType object)
           
static java.lang.String prettyPrint(ObjectType object, boolean showContent)
           
static java.lang.String prettyPrint(PropertyAvailableValuesListType propertyAvailableValues)
           
static java.lang.String prettyPrint(PropertyModificationType change)
           
static java.lang.String prettyPrint(PropertyReferenceListType reflist)
           
static java.lang.String prettyPrint(PropertyReferenceType ref)
           
static java.lang.String prettyPrint(QueryType query)
           
static java.lang.String prettyPrint(ResourceObjectShadowChangeDescriptionType change)
           
static java.lang.String prettyPrint(ResourceObjectShadowListType shadowListType)
           
static java.lang.String prettyPrint(ResourceObjectShadowType.Attributes attrs)
           
static java.lang.String prettyPrint(TestResultType testResult)
           
static java.lang.String prettyPrint(UserContainerType container)
           
static java.lang.String resourceFromShadow(ResourceObjectShadowType shadow)
           
static java.lang.String toReadableString(ResourceObjectShadowType shadow)
           
static java.lang.String toReadableString(UserType user)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DebugUtil

public DebugUtil()
Method Detail

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.