public interface URI extends Resource, UriOrVariable
public boolean equals(Object other); public int hashCode();The method "public String toString();" is expected to return a valid URI String
Modifier and Type | Method and Description |
---|---|
URI |
asJavaURI()
Convenience method to return the URI as a java.net.URI.
|
asBlankNode, asDatatypeLiteral, asLanguageTagLiteral, asLiteral, asResource, asURI, toSPARQL
compareTo
URI asJavaURI() throws ModelRuntimeException
ModelRuntimeException
- if this URI could not be converted to a
java.net.URI. This sounds strange, but there are so many
subleties in URI syntax that this might (rarely) happen.Copyright © 2005–2017 IT-Consulting Dr. Max V?lkel | Project started at FZI Forschungszentrum Informatik, www.fzi.de. All rights reserved.