Skip to main content

Class: URIResolver

Common.URIResolver()

Interface for URI processing.Represents a global repository of ink objects referable by URI.

Constructor

new URIResolver()

Methods

get(uri)

Get resource by it's identifier

Parameters:
NameTypeDescription
uriURIResource identificator
Returns:

Resource

init(…argsopt)

Implementation should provide resolution for all known URI resources

Parameters:
NameTypeAttributesDescription
argsVarArgs<optional><repeatable>constructor arguments

Deprecated:

  • Yes

register(uri, value)

Register known resources

Parameters:
NameTypeDescription
uriURIResource identificator
valueanyResource

Home