Constructor
new TypeUrl(valuenon-null)
Creates a new instance of TypeUrl from the given string value.
The value should be a valid type URL of format:
(typeUrlPrefix)/(typeName)
Parameters:
Name | Type | Description |
---|---|---|
value |
string | the type URL value |
- Source:
Classes
Methods
name() → {string}
- Source:
Returns:
part of the type URL after `/` specifying the type name
- Type
- string
prefix() → {string}
- Source:
Returns:
part of the type URL before `/` specifying a namespace
- Type
- string
value() → (non-null) {string}
- Source:
Returns:
full type URL value formatted as `/` string
- Type
- string