java.lang.Object
javax.xml.bind.annotation.adapters.XmlAdapter<java.lang.String,​java.awt.Color>
de.gurkenlabs.litiengine.environment.tilemap.xml.ColorAdapter

public class ColorAdapter
extends javax.xml.bind.annotation.adapters.XmlAdapter<java.lang.String,​java.awt.Color>
  • Constructor Summary

    Constructors 
    ConstructorDescription
    ColorAdapter() 
  • Method Summary

    Modifier and TypeMethodDescription
    java.lang.Stringmarshal​(java.awt.Color v) 
    java.awt.Colorunmarshal​(java.lang.String v) 

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • unmarshal

      public java.awt.Color unmarshal​(java.lang.String v)
      Specified by:
      unmarshal in class javax.xml.bind.annotation.adapters.XmlAdapter<java.lang.String,​java.awt.Color>
    • marshal

      public java.lang.String marshal​(java.awt.Color v)
      Specified by:
      marshal in class javax.xml.bind.annotation.adapters.XmlAdapter<java.lang.String,​java.awt.Color>