Drools :: Core 6.1.0.Beta1

org.drools.core.xml.jaxb.util
Class JaxbCollectionAdapter

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

public class JaxbCollectionAdapter
extends 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 XmlAdapter<JaxbListWrapper,Collection>
Throws:
Exception

unmarshal

public Collection unmarshal(JaxbListWrapper v)
                     throws Exception
Specified by:
unmarshal in class XmlAdapter<JaxbListWrapper,Collection>
Throws:
Exception

Drools :: Core 6.1.0.Beta1

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