io.sarl.api.naming.parser
Interface ISchemeNameParser<N>
Type Parameters:
N - the type of the name that is the result of the decoding.
All Known Implementing Classes:
AbstractSchemeNameParser<N>, AgentSchemeNameParser, ArtifactSchemeNameParser, BehaviorSchemeNameParser, ContextSchemeNameParser, ServiceSchemeNameParser, SkillSchemeNameParser, SpaceSchemeNameParser
interface ISchemeNameParser<N>
A parser of names that is accepting URI-based syntax for a specific scheme.
Parameters:
<N> - the type of the name that is the result of the decoding.
Maven Group Identifier:
io.sarl.sdk
Maven Artifact Identifier:
api.naming
Since:
0.12
Property Summary
Modifier and type Property and description
java.lang.String scheme
Replies the name scheme that is supported by this parser.
Action Summary
Modifier and type Action and description
abstract N decode(URI)
Decode the name.
abstract java.lang.String getScheme
Replies the name scheme that is supported by this parser.
abstract java.net.URI refactor(URI)
Refactor the given URI in order to fit the name specification.
Property Details
scheme
val scheme : java.lang.String
Replies the name scheme that is supported by this parser.

This property is an alias for the action: getScheme

Action Details
decode(URI)
def decode(URI) : N
Decode the name.
getScheme
def getScheme : java.lang.String
Replies the name scheme that is supported by this parser.
refactor(URI)
def refactor(URI) : java.net.URI
Refactor the given URI in order to fit the name specification.