javax.xml.bind.annotation.adapters
Class NormalizedStringAdapter

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

public final class NormalizedStringAdapter
extends XmlAdapter<String,String>


Constructor Summary
NormalizedStringAdapter()
           
 
Method Summary
protected static boolean isWhiteSpaceExceptSpace(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

NormalizedStringAdapter

public NormalizedStringAdapter()
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>

isWhiteSpaceExceptSpace

protected static boolean isWhiteSpaceExceptSpace(char ch)


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