Package iofXml
Class MainKt
-
- All Implemented Interfaces:
public final class MainKt
-
-
Field Summary
Fields Modifier and Type Field Description private final static List<Class<out BaseMessageElement>>
classesV3
private final static List<String>
classNamesV3
private final static List<Class<out Object>>
classesV2
private final static List<String>
classNamesV2
-
Method Summary
Modifier and Type Method Description final List<Class<out BaseMessageElement>>
getClassesV3()
List of all main types / classes of IOF V3 XSD specification. final List<String>
getClassNamesV3()
List of all names for all main classes of IOF V3 XSD specification, generated from classesV3. final List<Class<out Object>>
getClassesV2()
List of all main types / classes of IOF V2 XSD specification. final List<String>
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 -
-
Method Detail
-
getClassesV3
final List<Class<out BaseMessageElement>> getClassesV3()
List of all main types / classes of IOF V3 XSD specification. Only these classes can be top level XML elements.
-
getClassNamesV3
final List<String> getClassNamesV3()
List of all names for all main classes of IOF V3 XSD specification, generated from classesV3.
-
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.
-
getClassNamesV2
final List<String> 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 stringprettyPrint
- should output be indented/prettified- Returns:
XML representation of the object
-
-
-
-