Class: ObjectFormats

ObjectFormats()

ObjectFormats represents the DataONE object format list found at https://cn.dataone.org/cn/v2/formats, or the Coordinating Node environment configured `AppModel.d1CNBaseUrl` This collection is intended to be used as a formats cache - retrieved once, and only refreshed later if an object format isn't present when needed.

Constructor

new ObjectFormats()

Source:

Extends

  • Backbone.Collection

Methods

fetch()

Retrieve the formats from the Coordinating Node
Source:

parse()

Parse the XML response from the CN
Source:

url() → {string}

The constructed URL of the collection (/cn/v2/formats)
Source:
Returns:
- The URL to use during fetch
Type
string