org.jboss.metadata.javaee.spec
Class PersistenceContextTypeAdapter

java.lang.Object
  extended by javax.xml.bind.annotation.adapters.XmlAdapter<String,javax.persistence.PersistenceContextType>
      extended by org.jboss.metadata.javaee.spec.PersistenceContextTypeAdapter

public class PersistenceContextTypeAdapter
extends javax.xml.bind.annotation.adapters.XmlAdapter<String,javax.persistence.PersistenceContextType>

PersistenceContextType enum type adapter

Version:
$Revision: 67164 $
Author:
Scott.Stark@jboss.org

Constructor Summary
PersistenceContextTypeAdapter()
           
 
Method Summary
 String marshal(javax.persistence.PersistenceContextType type)
           
 javax.persistence.PersistenceContextType unmarshal(String string)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PersistenceContextTypeAdapter

public PersistenceContextTypeAdapter()
Method Detail

marshal

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

unmarshal

public javax.persistence.PersistenceContextType unmarshal(String string)
                                                   throws Exception
Specified by:
unmarshal in class javax.xml.bind.annotation.adapters.XmlAdapter<String,javax.persistence.PersistenceContextType>
Throws:
Exception


Copyright © 2009 JBoss Inc.. All Rights Reserved.