elk-reasoner/src/main/java/org/semanticweb/elk/reasoner/Reasoner.java
protected TaxonomyNode<ElkClass> getTaxonomyNode(ElkClass elkClass)
			throws ElkException {
		final Taxonomy<ElkClass> taxonomy = getTaxonomy();
		final TaxonomyNode<ElkClass> node = taxonomy.getNode(elkClass);
		if (node != null)
			return node;
		// else
		if (allowFreshEntities)
			return new FreshTaxonomyNode<ElkClass>(elkClass, taxonomy);
		// else
		throw new ElkFreshEntitiesException(elkClass);
	}
protected TaxonomyNode<ElkClass> getTaxonomyNode(ElkClass elkClass)
			throws ElkException {
		final Taxonomy<ElkClass> taxonomy = getTaxonomy();
		final TaxonomyNode<ElkClass> node = taxonomy.getNode(elkClass);
		if (node != null)
			return node;
		// else
		if (allowFreshEntities)
			return new FreshTaxonomyNode<ElkClass>(elkClass, taxonomy);
		// else
		throw new ElkFreshEntitiesException(elkClass);
	}
Helper method to get a {@link TaxonomyNode} from the taxonomy.

@param elkClass
an {@link ElkClass} for which to find a {@link TaxonomyNode}
@return the {@link TaxonomyNode} for the given {@link ElkClass}