API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.xml.bind.annotation.adapters. CollapsedStringAdapter View Source
Author(s)
Kohsuke Kawaguchi
Since
JAXB 2.0
Version
Serial
Hierarchy
 Object
      XmlAdapter
          CollapsedStringAdapter
Implements
Subclasses
Description
public class CollapsedStringAdapter
  Built-in XmlAdapter to handle xs:token and its derived types.
See also:   
Constructors
public CollapsedStringAdapter ()
Methods
Hide/Show inherited methods
protectedstatic boolean isWhiteSpace (char ch)
returns true if the specified char is a white space character.
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 truncate any sequnce of tab, CR, LF, and SP by a single 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