org.apache.openejb.jee
Class BooleanAdapter

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

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

Version:
$Rev$ $Date$

Constructor Summary
BooleanAdapter()
           
 
Method Summary
 java.lang.String marshal(java.lang.Boolean value)
           
 java.lang.Boolean unmarshal(java.lang.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 java.lang.Boolean unmarshal(java.lang.String value)
                            throws java.lang.Exception
Specified by:
unmarshal in class javax.xml.bind.annotation.adapters.XmlAdapter<java.lang.String,java.lang.Boolean>
Throws:
java.lang.Exception

marshal

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


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