Package iofXml

Class MainKt

  • All Implemented Interfaces:

    
    public final class MainKt
    
                        
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private final static <Error class: unknown class> classesV3
      private final static <Error class: unknown class> classNamesV3
      private final static <Error class: unknown class> classesV2
      private final static <Error class: unknown class> classNamesV2
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final <Error class: unknown class> getClassesV3() List of all main types / classes of IOF V3 XSD specification.
      final <Error class: unknown class> getClassNamesV3() List of all names for all main classes of IOF V3 XSD specification, generated from classesV3.
      final <Error class: unknown class> getClassesV2() List of all main types / classes of IOF V2 XSD specification.
      final <Error class: unknown class> getClassNamesV2() List of all names for all main classes of IOF V2 XSD specification, generated from classesV2.
      final static String marshallIofObject(Object obj, Boolean prettyPrint) Convert an object of IOF V3 or V2 type to XML string
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • getClassesV3

         final <Error class: unknown class> getClassesV3()

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

      • getClassNamesV3

         final <Error class: unknown class> getClassNamesV3()

        List of all names for all main classes of IOF V3 XSD specification, generated from classesV3.

      • getClassesV2

         final <Error class: unknown class> getClassesV2()

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

      • getClassNamesV2

         final <Error class: unknown class> getClassNamesV2()

        List of all names for all main classes of IOF V2 XSD specification, generated from classesV2.

      • 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