Class BooleanIntegerAdapter

java.lang.Object
jakarta.xml.bind.annotation.adapters.XmlAdapter<Integer,Boolean>
de.gurkenlabs.litiengine.environment.tilemap.xml.BooleanIntegerAdapter

public class BooleanIntegerAdapter extends jakarta.xml.bind.annotation.adapters.XmlAdapter<Integer,Boolean>
  • Constructor Details

    • BooleanIntegerAdapter

      public BooleanIntegerAdapter()
  • Method Details

    • unmarshal

      public Boolean unmarshal(Integer s)
      Specified by:
      unmarshal in class jakarta.xml.bind.annotation.adapters.XmlAdapter<Integer,Boolean>
    • marshal

      public Integer marshal(Boolean c)
      Specified by:
      marshal in class jakarta.xml.bind.annotation.adapters.XmlAdapter<Integer,Boolean>