toxi.color
Class TColorAdapter

java.lang.Object
  extended by javax.xml.bind.annotation.adapters.XmlAdapter<java.lang.String,TColor>
      extended by toxi.color.TColorAdapter

public class TColorAdapter
extends javax.xml.bind.annotation.adapters.XmlAdapter<java.lang.String,TColor>


Constructor Summary
TColorAdapter()
           
 
Method Summary
 java.lang.String marshal(TColor col)
           
 TColor unmarshal(java.lang.String hex)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TColorAdapter

public TColorAdapter()
Method Detail

marshal

public java.lang.String marshal(TColor col)
                         throws java.lang.Exception
Specified by:
marshal in class javax.xml.bind.annotation.adapters.XmlAdapter<java.lang.String,TColor>
Throws:
java.lang.Exception

unmarshal

public TColor unmarshal(java.lang.String hex)
                 throws java.lang.Exception
Specified by:
unmarshal in class javax.xml.bind.annotation.adapters.XmlAdapter<java.lang.String,TColor>
Throws:
java.lang.Exception