Class IntegerArrayAdapter

java.lang.Object
jakarta.xml.bind.annotation.adapters.XmlAdapter<String,int[]>
de.gurkenlabs.litiengine.environment.tilemap.xml.IntegerArrayAdapter

public class IntegerArrayAdapter extends jakarta.xml.bind.annotation.adapters.XmlAdapter<String,int[]>
  • Constructor Details

    • IntegerArrayAdapter

      public IntegerArrayAdapter()
  • Method Details

    • unmarshal

      public int[] unmarshal(String v) throws Exception
      Specified by:
      unmarshal in class jakarta.xml.bind.annotation.adapters.XmlAdapter<String,int[]>
      Throws:
      Exception
    • marshal

      public String marshal(int[] v) throws Exception
      Specified by:
      marshal in class jakarta.xml.bind.annotation.adapters.XmlAdapter<String,int[]>
      Throws:
      Exception