visualization/visualization-api/src/main/java/se/jguru/nazgul/tools/visualization/api/factory/AbstractGraphConverter.java
public <Concept, S extends Statement> AbstractStatementConverter<Concept, S> get(
            final Class<Concept> conceptClass) {

        // Check sanity
        if (conceptClass == null) {
            throw new NullPointerException("Cannot handle null 'conceptClass' argument.");
        }

        // Fetch stashed converters
        final AbstractStatementConverter<Concept, S> toReturn = statementConverters.get(conceptClass);
        if (toReturn == null && log.isDebugEnabled()) {
            log.debug("No AbstractStatementConverter to convert [" + conceptClass.getName()
                    + "] into a Statement subtype was registered.");
        }

        // All Done.
        return toReturn;
    }
public <Concept, S extends Statement> AbstractStatementConverter<Concept, S> get(
            final Class<Concept> conceptClass) {

        // Check sanity
        if (conceptClass == null) {
            throw new NullPointerException("Cannot handle null 'conceptClass' argument.");
        }

        // Fetch stashed converters
        final AbstractStatementConverter<Concept, S> toReturn = statementConverters.get(conceptClass);
        if (toReturn == null && log.isDebugEnabled()) {
            log.debug("No AbstractStatementConverter to convert [" + conceptClass.getName()
                    + "] into a Statement subtype was registered.");
        }

        // All Done.
        return toReturn;
    }
public < Concept , S extends Statement > AbstractStatementConverter < Concept , S > get ( final Class < Concept > conceptClass ) { // Check sanity if ( conceptClass == null ) { throw new NullPointerException ( "Cannot handle null 'conceptClass' argument." ) ; } // Fetch stashed converters final AbstractStatementConverter < Concept , S > toReturn = statementConverters . get ( conceptClass ) ; if ( toReturn == null && log . isDebugEnabled ( ) ) { log . debug ( "No AbstractStatementConverter to convert [" + conceptClass . getName ( ) + "] into a Statement subtype was registered." ) ; } // All Done. return toReturn ; }
Retrieves an {@link AbstractStatementConverter} subclass which can convert the given Concept
class into a {@link Statement}. Null arguments are not permitted.

@param conceptClass The class to convert into a Statement.
@param <Concept>    The type to convert.
@param <S>          The Statement subclass.
@return The {@link AbstractStatementConverter} subclass which manages the conversion - or null should none exist.
Retrieves an { @link AbstractStatementConverter } subclass which can convert the given Concept class into a { @link Statement } . Null arguments are not permitted .