protected final Representation getRepresentation(RDFWriterFactory factory, MediaType mediaType)
throws ResourceException
{
try {
Model schemas = getRepositoryManager().getConfigTemplateManager().getSchemas();
schemas = new ModelOrganizer(schemas).organize();
return new ModelRepresentation(schemas, factory, mediaType);
}
catch (StoreConfigException e) {
throw new ResourceException(e);
}