org.semanticweb.owl.util
Class OWLEntityTinyURIConversionStrategy

java.lang.Object
  extended by org.semanticweb.owl.util.OWLEntityTinyURIConversionStrategy
All Implemented Interfaces:
OWLEntityURIConverterStrategy

public class OWLEntityTinyURIConversionStrategy
extends java.lang.Object
implements OWLEntityURIConverterStrategy

Author: Matthew Horridge
The University Of Manchester
Bio-Health Informatics Group
Date: 25-Nov-2007

Provides an entity URI conversion strategy which converts entity URIs to a common base and alpha-numeric fragment. The fragment is of the form An, where n is an integer (starting at 1), and A is a string which depends on the type of entity:


Field Summary
static java.lang.String DEFAULT_BASE
           
 
Constructor Summary
OWLEntityTinyURIConversionStrategy()
          Constructs an entity URI converter strategy, where the base of the generated URIs corresponds to the value specified by the DEFAULT_BASE constant.
OWLEntityTinyURIConversionStrategy(java.lang.String base)
          Constructs an entity URI converter strategy, where the specified base is used for the base of the URIs generated by the generator.
 
Method Summary
 java.net.URI getConvertedURI(OWLEntity entity)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_BASE

public static final java.lang.String DEFAULT_BASE
See Also:
Constant Field Values
Constructor Detail

OWLEntityTinyURIConversionStrategy

public OWLEntityTinyURIConversionStrategy()
Constructs an entity URI converter strategy, where the base of the generated URIs corresponds to the value specified by the DEFAULT_BASE constant.


OWLEntityTinyURIConversionStrategy

public OWLEntityTinyURIConversionStrategy(java.lang.String base)
Constructs an entity URI converter strategy, where the specified base is used for the base of the URIs generated by the generator.

Parameters:
base - The base to be used.
Method Detail

getConvertedURI

public java.net.URI getConvertedURI(OWLEntity entity)
Specified by:
getConvertedURI in interface OWLEntityURIConverterStrategy