# SratomObjectMode

enum SratomObjectMode

  Mode for reading resources to LV2 Objects.

  This affects how resources (which are either blank nodes or have URIs) are read by `sratom_read()`, since they may be read as simple references (a URI or blank node ID) or a complete description (an atom “Object”).

  Currently, blank nodes are always read as Objects, but support for reading blank node IDs may be added in the future.

  enumerator SRATOM_OBJECT_MODE_BLANK

    Read blank nodes as Objects, and named resources as URIs.

  enumerator SRATOM_OBJECT_MODE_BLANK_SUBJECT

    Read blank nodes and the main subject as Objects.

    Any other named resources are read as URIs. The “main subject” is the subject parameter passed to `sratom_read()`; if this is a resource it will be read as an Object, but all other named resources encountered will be read as URIs.