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 javax.xml.bind.annotation.adapters.XmlAdapter<String,Boolean>

Version:
$Rev: 607077 $ $Date: 2007-12-27 15:55:23 +0100 (Do, 27. Dez 2007) $

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 javax.xml.bind.annotation.adapters.XmlAdapter<String,Boolean>
Throws:
Exception

marshal

public String marshal(Boolean b)
               throws Exception
Specified by:
marshal in class javax.xml.bind.annotation.adapters.XmlAdapter<String,Boolean>
Throws:
Exception


Copyright © 1999-2011 The Apache OpenEJB development community. All Rights Reserved.