9101112131415
{ public ContentType unmarshal(String s) throws Exception { if (s == null) return null; return new ContentType(s); }
3839404142434445
@Override public ContentType fromString(String string) { if (string == null) { return null; } else { return new ContentType(string); } }
676869707172737475
if (value == null) { return null; } // TODO handle Enum ordinal? if (String.class.isInstance(value)) { return new ContentType((String) value); } throw unknownWrap(value.getClass()); }