org.jboss.metadata.javaee.spec
Class PersistenceContextTypeAdapter
java.lang.Object
javax.xml.bind.annotation.adapters.XmlAdapter<String,javax.persistence.PersistenceContextType>
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
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 |
PersistenceContextTypeAdapter
public PersistenceContextTypeAdapter()
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 © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.