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:
Name | Type | Description |
---|---|---|
uri | URI | Resource identificator |
Returns:
Resource
init(…argsopt)
Implementation should provide resolution for all known URI resources
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
args | VarArgs | <optional><repeatable> | constructor arguments |
Deprecated:
- Yes
register(uri, value)
Register known resources
Parameters:
Name | Type | Description |
---|---|---|
uri | URI | Resource identificator |
value | any | Resource |