code: public static <T> T unmarshal(final JAXBContext ctx, final String xmlData, final XmlAdapter<?, ?>[] adapters) {
          if (xmlData == null) {
              return null;
          }
          return unmarshal(ctx, new StringReader(xmlData), adapters);
      }
docs: Unmarshals the given data using a given context. A <code>null</code> XML data argument returns <code>null</code>.
  
  @param ctx
  Context to use - Cannot be <code>null</code>.
  @param xmlData
  XML data or <code>null</code>.
  @param adapters
  Adapters to associate with the unmarshaller or <code>null</code>.
  
  @return Data or <code>null</code>.
  
  @param <T>
  Type of the expected data.