Package iofXml

Class MainKt

  • All Implemented Interfaces:

    
    public final class MainKt
    
                        
    • Constructor Detail

    • Method Detail

      • getClassesV2

         final List<Class<out Object>> getClassesV2()

        List of all main types / classes of IOF V2 XSD specification. Only these classes can be top level XML elements.

      • marshallIofObject

         final static String marshallIofObject(Object obj, Boolean prettyPrint)

        Convert an object of IOF V3 or V2 type to XML string

        Parameters:
        obj - previously unmarshalled JSON or XML string
        prettyPrint - should output be indented/prettified
        Returns:

        XML representation of the object