org.jvnet.jaxb2_commons.xml.bind.annotation.adapters
Class CommaDelimitedStringAdapter

java.lang.Object
  extended by javax.xml.bind.annotation.adapters.XmlAdapter<String,List<String>>
      extended by org.jvnet.jaxb2_commons.xml.bind.annotation.adapters.CommaDelimitedStringAdapter

public class CommaDelimitedStringAdapter
extends javax.xml.bind.annotation.adapters.XmlAdapter<String,List<String>>


Constructor Summary
CommaDelimitedStringAdapter()
           
 
Method Summary
 String marshal(List<String> value)
           
 List<String> unmarshal(String text)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CommaDelimitedStringAdapter

public CommaDelimitedStringAdapter()
Method Detail

marshal

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

unmarshal

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


Copyright © 2005-2012. All Rights Reserved.