All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.ontoware.rdf2go.model.node.URI Maven / Gradle / Ivy

Go to download

RDF2go is an implementation-independent Java API with the design goals: portability (hence the name), performance and ease of implementation. This project was started at FZI Forschungszentrum Informatik Karlsruhe, Germany - www.fzi.de

The newest version!
/**
 * LICENSE INFORMATION
 * 
 * Copyright 2005-2008 by FZI (http://www.fzi.de). Licensed under a BSD license
 * (http://www.opensource.org/licenses/bsd-license.php)  = Max Völkel
 *  = FZI Forschungszentrum Informatik Karlsruhe, Karlsruhe,
 * Germany  = 2010
 * 
 * Further project information at http://semanticweb.org/wiki/RDF2Go
 */

package org.ontoware.rdf2go.model.node;

import org.ontoware.rdf2go.exception.ModelRuntimeException;


/**
 * Interface for URI implementations.
 * 
 * Implementations must have valid implementations of
 * 
 * 
 * public boolean equals(Object other);
 * 
 * public int hashCode();
 * 
* * The method "public String toString();" is expected to return a valid URI * String * * * * * @author voelkel * */ public interface URI extends Resource, UriOrVariable { /** * Convenience method to return the URI as a java.net.URI. * * @return this URI as a java.net.URI * @throws 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. */ java.net.URI asJavaURI() throws ModelRuntimeException; }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy