Class XmlComplexExample

java.lang.Object
org.apache.juneau.examples.core.xml.XmlComplexExample

public class XmlComplexExample extends Object
Sample class which shows the complex usage of XmlSerializer.
See Also:
  • Constructor Details

  • Method Details

    • main

      public static void main(String[] args) throws Exception
      Serializing PojoComplex bean into human readable XML and Deserialize back to PojoComplex instance type.
      Parameters:
      args - Unused.
      Throws:
      Exception - Unused.