public static interface SchemeAccessor.SchemeMutator
Modifier and Type | Method and Description |
---|---|
void |
setProtocol(String aProtocol)
Sets the protocol
String representation for the scheme
property. |
void |
setScheme(org.refcodes.data.Scheme aScheme)
Sets the UrlScheme for the URL scheme.
|
void setScheme(org.refcodes.data.Scheme aScheme)
aScheme
- The UrlScheme to be stored by the URL scheme.void setProtocol(String aProtocol)
String
representation for the scheme
property. You must provide the scheme's specific part as well. In
case of HTTP, provide "http://". In case your provided protocol is
unknown by the Scheme
enumeration, then the scheme property
will not be set, though the SchemeAccessor.toProtocol()
still returns your protocol.aProtocol
- The UrlScheme's String
representation to be
stored by the URL scheme.Copyright © 2018. All rights reserved.