Class MimeFileTypeAdapter


public final class MimeFileTypeAdapter extends StringAdapter
JAXB adapter wrapping a String value with a <gcx:MimeFileType> element.
Since:
0.4
Version:
0.4
  • Constructor Details

    • MimeFileTypeAdapter

      public MimeFileTypeAdapter()
      Empty constructor for JAXB.
  • Method Details

    • marshal

      public GO_CharacterString marshal(String value)
      Converts a MIME type to the object to be marshalled in a XML file or stream. JAXB calls automatically this method at marshalling time.
      Overrides:
      marshal in class StringAdapter
      Parameters:
      value - the MIME type, or null.
      Returns:
      the wrapper for the given MIME type, or null.