MetadataRegistry
Registry for existing resource Metadata.
Method Summary
Public Methods | ||
public |
contains(template: AddressTemplate | String): boolean Checks whether there's a metadata for the specified template. |
|
public |
lookup(template: AddressTemplate | String): Metadata Returns metadata associated with the specified address template. |
Public Methods
public contains(template: AddressTemplate | String): boolean source
Checks whether there's a metadata for the specified template.
Params:
Name | Type | Attribute | Description |
template | AddressTemplate | String | The address template to check. |
public lookup(template: AddressTemplate | String): Metadata source
Returns metadata associated with the specified address template.
Params:
Name | Type | Attribute | Description |
template | AddressTemplate | String | The address template to lookup. |
Throw:
* |
MissingMetadataException if no metadata for the given template exists |