Class XmlSimpleExample

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

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

  • Method Details

    • main

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