Resource represents an address to a file (a locator). The value is an URI that can represent an absolute or relative path

Hierarchy

Constructors

Properties

contentType: string

Content type of the content of the file.

Remarks

The content type states which file extensions the file can have.

path: string

Path and name of the resource (with file extension).

Remarks

The path can be absolute or relative.

Methods

  • Iterate recursively over the instances referenced from this instance.

    Returns

    Iterator over the referenced instances

    Returns IterableIterator<Class>

  • Iterate over the instances referenced from this instance.

    We do not recurse into the referenced instances.

    Returns

    Iterator over the referenced instances

    Returns IterableIterator<Class>

  • Dispatch the transformer on this instance.

    Returns

    transformation of this instance

    Param Type

    T - type of the transformation result

    Type Parameters

    • T

    Parameters

    Returns T

  • Dispatch the transformer on this instance in context.

    Returns

    transformation of this instance

    Param Type

    T - type of the transformation result

    Param Type

    ContextT - type of the transformation context

    Type Parameters

    • ContextT

    • T

    Parameters

    Returns T

Generated using TypeDoc