Home » xml-commons-external-1.4.01-src » javax » xml » bind » annotation » adapters » [javadoc | source]
public final class: NormalizedStringAdapter [javadoc | source]
   javax.xml.bind.annotation.adapters.XmlAdapter<String, String>
XmlAdapter to handle xs:normalizedString.

This adapter removes leading and trailing whitespaces, then replace any tab, CR, and LF by a whitespace character ' '.

Method from javax.xml.bind.annotation.adapters.NormalizedStringAdapter Summary:
isWhiteSpaceExceptSpace,   marshal,   unmarshal
Methods from javax.xml.bind.annotation.adapters.XmlAdapter:
marshal,   unmarshal
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from javax.xml.bind.annotation.adapters.NormalizedStringAdapter Detail:
 protected static boolean isWhiteSpaceExceptSpace(char ch) 
    Returns true if the specified char is a white space character but not 0x20.
 public String marshal(String s) 
    No-op. Just return the same string given as the parameter.
 public String unmarshal(String text)