com.evolveum.midpoint.schema.util
Class SchemaDebugUtil

java.lang.Object
  extended by com.evolveum.midpoint.schema.util.SchemaDebugUtil

public class SchemaDebugUtil
extends Object

Author:
semancik

Constructor Summary
SchemaDebugUtil()
           
 
Method Summary
static String debugDump(AccountShadowType object, int indent)
           
static String debugDump(Collection<? extends DebugDumpable> dumpables)
           
static String debugDump(Collection<? extends DebugDumpable> dumpables, int indent)
           
static String debugDump(ObjectType objectType, int indent)
           
static
<K,V extends DebugDumpable>
void
debugDumpMapMultiLine(StringBuilder sb, Map<K,V> map, int indent)
           
static
<K,V> void
debugDumpMapSingleLine(StringBuilder sb, Map<K,V> map, int indent)
           
static String debugDumpXsdAnyProperties(Collection<?> xsdAnyCollection, int indent)
           
static String dumpJaxbObject(Object jaxbObject, String elementLocalName, PrismContext prismContext)
           
static
<K,V extends DebugDumpable>
String
dumpMapMultiLine(Map<K,V> map)
           
static void indentDebugDump(StringBuilder sb, int indent)
           
static String prettyPrint(AccountConstructionType act)
           
static String prettyPrint(AccountShadowType object)
           
static String prettyPrint(AccountShadowType object, boolean showContent)
           
static String prettyPrint(AssignmentType assignmentType)
           
static String prettyPrint(Collection<?> collection)
           
static String prettyPrint(Element element)
           
static String prettyPrint(Element element, boolean displayTag)
           
static String prettyPrint(ItemDeltaType change)
           
static String prettyPrint(JAXBElement<?> element)
           
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(ObjectListType list)
           
static String prettyPrint(ObjectModificationType objectChange)
           
static String prettyPrint(ObjectQuery query)
           
static String prettyPrint(ObjectReferenceType ref)
           
static String prettyPrint(ObjectType object)
           
static String prettyPrint(ObjectType object, boolean showContent)
           
static String prettyPrint(OperationResultType resultType)
           
static String prettyPrint(PagingType paging)
           
static String prettyPrint(PropertyReferenceListType reflist)
           
static String prettyPrint(ProtectedStringType protectedStringType)
           
static String prettyPrint(QName qname)
           
static String prettyPrint(QueryType query)
           
static String prettyPrint(ResourceAttributeDefinitionType vc)
           
static String prettyPrint(UnknownJavaObjectType xml)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SchemaDebugUtil

public SchemaDebugUtil()
Method Detail

dumpJaxbObject

public static String dumpJaxbObject(Object jaxbObject,
                                    String elementLocalName,
                                    PrismContext prismContext)

debugDump

public static String debugDump(Collection<? extends DebugDumpable> dumpables)

debugDump

public static String debugDump(Collection<? extends DebugDumpable> dumpables,
                               int indent)

debugDumpXsdAnyProperties

public static String debugDumpXsdAnyProperties(Collection<?> xsdAnyCollection,
                                               int indent)

indentDebugDump

public static void indentDebugDump(StringBuilder sb,
                                   int indent)

dumpMapMultiLine

public static <K,V extends DebugDumpable> String dumpMapMultiLine(Map<K,V> map)

debugDumpMapMultiLine

public static <K,V extends DebugDumpable> void debugDumpMapMultiLine(StringBuilder sb,
                                                                     Map<K,V> map,
                                                                     int indent)

debugDumpMapSingleLine

public static <K,V> void debugDumpMapSingleLine(StringBuilder sb,
                                                Map<K,V> map,
                                                int indent)

debugDump

public static String debugDump(ObjectType objectType,
                               int indent)

prettyPrint

public static String prettyPrint(Collection<?> collection)

prettyPrint

public static String prettyPrint(QName qname)

prettyPrint

public static String prettyPrint(AssignmentType assignmentType)

prettyPrint

public static String prettyPrint(AccountConstructionType act)

prettyPrint

public static String prettyPrint(ResourceAttributeDefinitionType vc)

prettyPrint

public static String prettyPrint(ObjectReferenceType ref)

prettyPrint

public static String prettyPrint(PropertyReferenceListType reflist)

prettyPrint

public static String prettyPrint(ObjectType object)

prettyPrint

public static String prettyPrint(ObjectType object,
                                 boolean showContent)

prettyPrint

public static String prettyPrint(ProtectedStringType protectedStringType)

prettyPrint

public static String prettyPrint(OperationResultType resultType)

prettyPrint

public static String prettyPrint(AccountShadowType object)

prettyPrint

public static String prettyPrint(AccountShadowType object,
                                 boolean showContent)

debugDump

public static String debugDump(AccountShadowType object,
                               int indent)

prettyPrint

public static String prettyPrint(ObjectModificationType objectChange)

prettyPrint

public static String prettyPrint(ItemDeltaType change)

prettyPrint

public static String prettyPrint(List<Element> list)
Assumes that all elements in the lists have the same QName

Parameters:
list -
Returns:

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(ObjectListType list)

prettyPrint

public static String prettyPrint(QueryType query)

prettyPrint

public static String prettyPrint(PagingType paging)

prettyPrint

public static String prettyPrint(JAXBElement<?> element)

prettyPrint

public static String prettyPrint(UnknownJavaObjectType xml)

prettyPrint

public static String prettyPrint(Object value)

prettyPrint

public static String prettyPrint(ObjectQuery query)


Copyright © 2013 evolveum. All Rights Reserved.