org.apache.openejb.jee
Class TrimStringAdapter

java.lang.Object
  extended by javax.xml.bind.annotation.adapters.XmlAdapter<String,String>
      extended by org.apache.openejb.jee.TrimStringAdapter

public class TrimStringAdapter
extends XmlAdapter<String,String>

Version:
$Rev$ $Date$

Constructor Summary
TrimStringAdapter()
           
 
Method Summary
 String marshal(String s)
           
 String unmarshal(String s)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TrimStringAdapter

public TrimStringAdapter()
Method Detail

unmarshal

public String unmarshal(String s)
                 throws Exception
Specified by:
unmarshal in class XmlAdapter<String,String>
Throws:
Exception

marshal

public String marshal(String s)
               throws Exception
Specified by:
marshal in class XmlAdapter<String,String>
Throws:
Exception


Copyright © 1999–2015 The Apache Software Foundation. All rights reserved.