class RepresentationFormatRepository {

    public OutputFormat outputFormat( List<MediaType> acceptable, URI baseUri,
            MultivaluedMap<String,String> requestHeaders )
    {
        RepresentationFormat format = forHeaders( acceptable, requestHeaders );
        if ( format == null )
        {
            format = forMediaTypes( acceptable );
        }
        if ( format == null )
        {
            format = useDefault( acceptable );
        }
        return new OutputFormat( format, baseUri, getExtensionManager() );
    }

    public  RepresentationFormatRepository( AbstractNeoServer injectorProvider );

}