org.drools.xml.jaxb.util
Class JaxbCollectionAdapter

java.lang.Object
  extended by javax.xml.bind.annotation.adapters.XmlAdapter<JaxbListWrapper,Collection>
      extended by org.drools.xml.jaxb.util.JaxbCollectionAdapter

public class JaxbCollectionAdapter
extends javax.xml.bind.annotation.adapters.XmlAdapter<JaxbListWrapper,Collection>


Constructor Summary
JaxbCollectionAdapter()
           
 
Method Summary
 JaxbListWrapper marshal(Collection v)
           
 Collection unmarshal(JaxbListWrapper v)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JaxbCollectionAdapter

public JaxbCollectionAdapter()
Method Detail

marshal

public JaxbListWrapper marshal(Collection v)
                        throws Exception
Specified by:
marshal in class javax.xml.bind.annotation.adapters.XmlAdapter<JaxbListWrapper,Collection>
Throws:
Exception

unmarshal

public Collection unmarshal(JaxbListWrapper v)
                     throws Exception
Specified by:
unmarshal in class javax.xml.bind.annotation.adapters.XmlAdapter<JaxbListWrapper,Collection>
Throws:
Exception


Copyright © 2001-2012 JBoss by Red Hat. All Rights Reserved.