org.apache.openejb.jee.wls
Class TrueFalseAdapter

java.lang.Object
  extended by javax.xml.bind.annotation.adapters.XmlAdapter<String,Boolean>
      extended by org.apache.openejb.jee.wls.TrueFalseAdapter

public class TrueFalseAdapter
extends XmlAdapter<String,Boolean>

Version:
$Rev$ $Date$

Constructor Summary
TrueFalseAdapter()
           
 
Method Summary
 String marshal(Boolean b)
           
 Boolean unmarshal(String s)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TrueFalseAdapter

public TrueFalseAdapter()
Method Detail

unmarshal

public Boolean unmarshal(String s)
                  throws Exception
Specified by:
unmarshal in class XmlAdapter<String,Boolean>
Throws:
Exception

marshal

public String marshal(Boolean b)
               throws Exception
Specified by:
marshal in class XmlAdapter<String,Boolean>
Throws:
Exception


Copyright © 1999–2015 The Apache Software Foundation. All rights reserved.