Subject.full


Description:

public Subject.full (string? uri = null, string? interpretation = null, string? manifestation = null, string? mimetype = null, string? origin = null, string? text = null, string? storage = null)

Create a new Subject structure with predefined data

Parameters:

uri

The URI or URL of the subject

interpretation

The interpretation type of the subject.

manifestation

The manifestation type of the subject.

mimetype

The mimetype of the subject. Eg. <emphasis>text/plain</emphasis>

origin

The origin of the subject.

text

A small textual representation of the subject suitable for display

storage

String identifier for the storage medium the subject is on.

Returns:

A newly create Subject instance. The returned subject will have a floating reference which will be consumed if you pass the event to any of the methods provided by this library (like adding it to an event).