com.evolveum.midpoint.schema.util
Class SchemaDebugUtil

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

public class SchemaDebugUtil
extends java.lang.Object

Author:
semancik

Constructor Summary
SchemaDebugUtil()
           
 
Method Summary
static java.lang.String debugDump(AccountShadowType object, int indent)
           
static java.lang.String debugDump(java.util.Collection<? extends DebugDumpable> dumpables)
           
static java.lang.String debugDump(java.util.Collection<? extends DebugDumpable> dumpables, int indent)
           
static java.lang.String debugDump(ObjectType objectType, int indent)
           
static
<K,V extends DebugDumpable>
void
debugDumpMapMultiLine(java.lang.StringBuilder sb, java.util.Map<K,V> map, int indent)
           
static
<K,V> void
debugDumpMapSingleLine(java.lang.StringBuilder sb, java.util.Map<K,V> map, int indent)
           
static java.lang.String debugDumpXsdAnyProperties(java.util.Collection<?> xsdAnyCollection, int indent)
           
static java.lang.String dumpJaxbObject(java.lang.Object jaxbObject, java.lang.String elementLocalName, PrismContext prismContext)
           
static
<K,V extends DebugDumpable>
java.lang.String
dumpMapMultiLine(java.util.Map<K,V> map)
           
static void indentDebugDump(java.lang.StringBuilder sb, int indent)
           
static java.lang.String prettyPrint(AccountConstructionType act)
           
static java.lang.String prettyPrint(AccountShadowType object)
           
static java.lang.String prettyPrint(AccountShadowType object, boolean showContent)
           
static java.lang.String prettyPrint(AssignmentType assignmentType)
           
static java.lang.String prettyPrint(java.util.Collection<?> collection)
           
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(ItemDeltaType change)
           
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(ObjectListType list)
           
static java.lang.String prettyPrint(ObjectModificationType objectChange)
           
static java.lang.String prettyPrint(ObjectQuery query)
           
static java.lang.String prettyPrint(ObjectReferenceType ref)
           
static java.lang.String prettyPrint(ObjectType object)
           
static java.lang.String prettyPrint(ObjectType object, boolean showContent)
           
static java.lang.String prettyPrint(OperationResultType resultType)
           
static java.lang.String prettyPrint(PagingType paging)
           
static java.lang.String prettyPrint(PropertyReferenceListType reflist)
           
static java.lang.String prettyPrint(ProtectedStringType protectedStringType)
           
static java.lang.String prettyPrint(javax.xml.namespace.QName qname)
           
static java.lang.String prettyPrint(QueryType query)
           
static java.lang.String prettyPrint(ResourceAttributeDefinitionType vc)
           
static java.lang.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 java.lang.String dumpJaxbObject(java.lang.Object jaxbObject,
                                              java.lang.String elementLocalName,
                                              PrismContext prismContext)

debugDump

public static java.lang.String debugDump(java.util.Collection<? extends DebugDumpable> dumpables)

debugDump

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

debugDumpXsdAnyProperties

public static java.lang.String debugDumpXsdAnyProperties(java.util.Collection<?> xsdAnyCollection,
                                                         int indent)

indentDebugDump

public static void indentDebugDump(java.lang.StringBuilder sb,
                                   int indent)

dumpMapMultiLine

public static <K,V extends DebugDumpable> java.lang.String dumpMapMultiLine(java.util.Map<K,V> map)

debugDumpMapMultiLine

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

debugDumpMapSingleLine

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

debugDump

public static java.lang.String debugDump(ObjectType objectType,
                                         int indent)

prettyPrint

public static java.lang.String prettyPrint(java.util.Collection<?> collection)

prettyPrint

public static java.lang.String prettyPrint(javax.xml.namespace.QName qname)

prettyPrint

public static java.lang.String prettyPrint(AssignmentType assignmentType)

prettyPrint

public static java.lang.String prettyPrint(AccountConstructionType act)

prettyPrint

public static java.lang.String prettyPrint(ResourceAttributeDefinitionType vc)

prettyPrint

public static java.lang.String prettyPrint(ObjectReferenceType ref)

prettyPrint

public static java.lang.String prettyPrint(PropertyReferenceListType reflist)

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(ProtectedStringType protectedStringType)

prettyPrint

public static java.lang.String prettyPrint(OperationResultType resultType)

prettyPrint

public static java.lang.String prettyPrint(AccountShadowType object)

prettyPrint

public static java.lang.String prettyPrint(AccountShadowType object,
                                           boolean showContent)

debugDump

public static java.lang.String debugDump(AccountShadowType object,
                                         int indent)

prettyPrint

public static java.lang.String prettyPrint(ObjectModificationType objectChange)

prettyPrint

public static java.lang.String prettyPrint(ItemDeltaType 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(QueryType query)

prettyPrint

public static java.lang.String prettyPrint(PagingType paging)

prettyPrint

public static java.lang.String prettyPrint(javax.xml.bind.JAXBElement<?> element)

prettyPrint

public static java.lang.String prettyPrint(UnknownJavaObjectType xml)

prettyPrint

public static java.lang.String prettyPrint(java.lang.Object value)

prettyPrint

public static java.lang.String prettyPrint(ObjectQuery query)


Copyright © 2012 evolveum. All Rights Reserved.