return document;
}
public IDocument getOrCreate(String url) throws SimalRepositoryException, IncompatibleTypeException {
Document document;
if (getRepository().containsResource(url)) {
document = (Document) get(url);
} else {
Model model = getModel();
document = new Document(model.createResource(url));
}
return document.ensureDocumentType();
}