API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.xml.bind.annotation.adapters. NormalizedStringAdapter View Source
Author(s)
Kohsuke Kawaguchi
Since
JAXB 2.0
Version
Serial
Hierarchy
 Object
      XmlAdapter
          NormalizedStringAdapter
Implements
Subclasses
Description
publicfinal class NormalizedStringAdapter
  XmlAdapter to handle xs:normalizedString.
See also:   
Constructors
public NormalizedStringAdapter ()
Methods
Hide/Show inherited methods
protectedstatic boolean isWhiteSpaceExceptSpace (char ch)
Returns true if the specified char is a white space character but not 0x20.
publicabstract ValueType marshal ( BoundType v) throws Exception [Inherited From XmlAdapter]
  Convert a bound type to a value type.
public String marshal (String s)
  No-op.
public String unmarshal (String text)
Removes leading and trailing whitespaces of the string given as the parameter, then replace any tab, CR, and LF by a whitespace character ' '.
publicabstract BoundType unmarshal ( ValueType v) throws Exception [Inherited From XmlAdapter]
  Convert a value type to a bound type.
Fields
Hide/Show inherited fields
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar