Class MetacardTypeAdapter

java.lang.Object
javax.xml.bind.annotation.adapters.XmlAdapter<String,ddf.catalog.data.MetacardType>
ddf.catalog.transformer.xml.adapter.MetacardTypeAdapter

public class MetacardTypeAdapter extends javax.xml.bind.annotation.adapters.XmlAdapter<String,ddf.catalog.data.MetacardType>
  • Constructor Details

    • MetacardTypeAdapter

      public MetacardTypeAdapter(List<ddf.catalog.data.MetacardType> types)
    • MetacardTypeAdapter

      public MetacardTypeAdapter()
  • Method Details

    • marshal

      public String marshal(ddf.catalog.data.MetacardType type) throws ddf.catalog.transform.CatalogTransformerException
      Specified by:
      marshal in class javax.xml.bind.annotation.adapters.XmlAdapter<String,ddf.catalog.data.MetacardType>
      Throws:
      ddf.catalog.transform.CatalogTransformerException
    • unmarshal

      public ddf.catalog.data.MetacardType unmarshal(String typeName) throws ddf.catalog.transform.CatalogTransformerException
      Specified by:
      unmarshal in class javax.xml.bind.annotation.adapters.XmlAdapter<String,ddf.catalog.data.MetacardType>
      Throws:
      ddf.catalog.transform.CatalogTransformerException