javax.xml.bind.annotation.adapters
Class CollapsedStringAdapter

java.lang.Object
  extended by javax.xml.bind.annotation.adapters.XmlAdapter<String,String>
      extended by javax.xml.bind.annotation.adapters.CollapsedStringAdapter

public class CollapsedStringAdapter
extends XmlAdapter<String,String>


Constructor Summary
CollapsedStringAdapter()
           
 
Method Summary
protected static boolean isWhiteSpace(char ch)
           
 String marshal(String v)
           
 String unmarshal(String v)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CollapsedStringAdapter

public CollapsedStringAdapter()
Method Detail

marshal

public String marshal(String v)
Specified by:
marshal in class XmlAdapter<String,String>

unmarshal

public String unmarshal(String v)
Specified by:
unmarshal in class XmlAdapter<String,String>

isWhiteSpace

protected static boolean isWhiteSpace(char ch)


Copyright © 2003-2009 The Apache Software Foundation. All Rights Reserved.