org.apache.openejb.jee
Class BooleanAdapter

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

public class BooleanAdapter
extends XmlAdapter<String,Boolean>

Version:
$Rev$ $Date$

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

Constructor Detail

BooleanAdapter

public BooleanAdapter()
Method Detail

unmarshal

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

marshal

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


Copyright © 1999-2012 The Apache Software Foundation. All Rights Reserved.