class DigesterDefinitionsReader implements DefinitionsReader {

    public void addDefinition(Definition definition) {
        String name = definition.getName();
        if (name == null) {
            throw new DigesterDefinitionsReaderException(
                    "A root definition has been defined with no name");
        }

        definitions.put(name, definition);
    }

    public  DigesterDefinitionsReader();

}